Changeset - db6685a2165e
[Not reviewed]
default
0 2 0
ethanzonca@CL-SEC241-08.cedarville.edu - 12 years ago 2012-10-29 19:53:54
ethanzonca@CL-SEC241-08.cedarville.edu
Added afsk code, which is tested and works on the micro
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
master/master/lib/serparser.c
Show inline comments
 
@@ -4,13 +4,13 @@
 
* Created: 10/25/2012 8:11:43 PM
 
*  Author: ethanzonca
 
*/
 
 
 
// ************* Macros ***************
 
#define SERIAL_RX_HASBYTES UCSR0A & _BV(RXC)
 
#define SERIAL_RX_HASBYTES UCSR0A & _BV(RXC0)
 
#define MAX_CMD_LEN 16
 
#define BROADCAST_ADDR 0 //public address
 
#include <avr/io.h>
 
#include "../config.h"
 
 
//#define DEBUG
master/master/master.c
Show inline comments
 
@@ -10,13 +10,13 @@
 
 
#include <avr/io.h>
 
#include <util/delay.h>
 
 
#include "lib/serial.h"
 
#include "lib/afsk.h"
 
 
#include "lib/led.h"
 
 
void micro_setup() {
 
	// Generic microcontroller config options
 
}
 
 
int main(void)
0 comments (0 inline, 0 general)