EECS 203 Mailing List
Re: Lab inputs


Re: Lab inputs

From: Robert Dick <dickrp_at_avoiding.spam>
Date: Tue Jun 03 2008 - 00:04:53 CDT

Chris Zamierowski:
> Ok, so those are the two inputs. Then what is the following code for S2_REG
> and S3_REG for?
>
> S2_REG equ PORTA
> S2_BIT equ 4
> S2_TRIS equ TRISA
>
> S3_REG equ PORTC
> S3_BIT equ 2
> S3_TRIS equ TRISC

Use the tape sensor registers for the tape sensors. I probably left in the
definitions for the buttons in case anybody wanted to use them to make the
car dance.

-Robert Dick-
Received on Tue Jun 3 00:04:53 2008

This archive was generated by hypermail 2.1.8 : Sat Aug 23 2008 - 21:08:11 CDT