Subversion Repositories Code-Repo

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
112 4635 d 10 h Kevin /Classwork/ECE4534 - Embedded Systems/PIC 27J13/ New revisions.  
111 4649 d 9 h Kevin /Classwork/ECE4534 - Embedded Systems/PIC 27J13/ Implemented a buffer for received data from XBee. Also changed the naming of definitions to differentiate from base station code and remote code.  
109 4654 d 12 h Kevin /Classwork/ECE4534 - Embedded Systems/PIC 27J13/ Changed XBee pins and enabled port B interrupts.

/* ----------- IO Pins -----------
* RA0 - LED Display Latch Enable (PPS)
* RA1 - LED Display CLK (PPS)
* RA2 - LED Display DIN (PPS)
* RA3 - LED Display Output Enable (PPS)
* RA4 - [CANNOT BE USED (VDDCORE/VCAP)]
* RA5 - IR Reciever (PPS)
* RA6 - Oscillator
* RA7 - Oscillator
*
* RC0 - PWM Output (IR) (PPS, Ports B and C only)
* RC1 - PWM Output (IR) (PPS, Ports B and C only)
* RC2 - LED Output (PPS, Ports B and C only)
* RC3 - I2C SCL
* RC4 - I2C SDA
* RC5 - XBee Sleep (PPS)
* RC6 - UART Debug Output
* RC7 - UART Debug Input
*
* RB0 - XBee CTS (PPS)
* RB1 - XBee RTS (PPS)
* RB2 - XBee RX (PPS)
* RB3 - XBee Tx (PPS)
* RB4 - Button Input (Port B Interrupt on Change)
* RB5 - Button Input (Port B Interrupt on Change)
* RB6 - Button Input (Port B Interrupt on Change)
* RB7 - Button Input (Port B Interrupt on Change)
* ---------------------------- */
 
107 4654 d 15 h Kevin /Classwork/ECE4534 - Embedded Systems/PIC 27J13/ Import working PIC 27J13 code with the following pins set:

/* ----------- IO Pins -----------
* RA0 - LED Display Latch Enable (PPS)
* RA1 - LED Display CLK (PPS)
* RA2 - LED Display DIN (PPS)
* RA3 - LED Display Output Enable (PPS)
* RA4 - [CANNOT BE USED (VDDCORE/VCAP)]
* RA5 - IR Reciever (PPS)
* RA6 - Oscillator
* RA7 - Oscillator
*
* RC0 - PWM Output (IR) (PPS, Ports B and C only)
* RC1 - PWM Output (IR) (PPS, Ports B and C only)
* RC2 - LED Output (PPS, Ports B and C only)
* RC3 - I2C SCL
* RC4 - I2C SDA
* RC5 - NA
* RC6 - UART Debug Output
* RC7 - UART Debug Input
*
* RB0 - NA
* RB1 - NA
* RB2 - NA
* RB3 - NA
* RB4 - XBee CTS (PPS)
* RB5 - XBee RTS (PPS)
* RB6 - XBee RX (PPS)
* RB7 - XBee Tx (PPS)
* ---------------------------- */