Commit 84e464de authored by maniacbug's avatar maniacbug

latest jamfiles

parent 2c971863
......@@ -75,7 +75,7 @@ void setup(void)
// optionally, reduce the payload size. seems to
// improve reliability
radio.setPayloadSize(8);
//radio.setPayloadSize(8);
//
// Open pipes to other nodes for communication
......@@ -86,15 +86,15 @@ void setup(void)
// Open 'our' pipe for writing
// Open the 'other' pipe for reading, in position #1 (we can have up to 5 pipes open for reading)
if ( role == role_ping_out )
//if ( role == role_ping_out )
{
radio.openWritingPipe(pipes[0]);
//radio.openWritingPipe(pipes[0]);
radio.openReadingPipe(1,pipes[1]);
}
else
//else
{
radio.openWritingPipe(pipes[1]);
radio.openReadingPipe(1,pipes[0]);
//radio.openWritingPipe(pipes[1]);
//radio.openReadingPipe(1,pipes[0]);
}
//
......
......@@ -4,7 +4,7 @@ PROJECT_LIBS = SPI RF24 ;
# (2) Board Information
UPLOAD_PROTOCOL ?= stk500v1 ;
UPLOAD_PROTOCOL ?= arduino ;
UPLOAD_SPEED ?= 57600 ;
MCU ?= atmega328p ;
F_CPU ?= 16000000 ;
......@@ -35,8 +35,8 @@ if $(OS) = MACOSX
}
else
{
AVR_BIN = /usr/bin ;
AVR_INCLUDE = /usr/lib/avr/include ;
AVR_BIN ?= /usr/bin ;
AVR_INCLUDE ?= /usr/lib/avr/include ;
AVR_ETC = /etc ;
}
......
......@@ -37,7 +37,7 @@ if $(OS) = MACOSX
else
{
AVR_BIN ?= /usr/bin ;
AVR_INCLUDE = /usr/lib/avr/include ;
AVR_INCLUDE ?= /usr/lib/avr/include ;
AVR_ETC = /etc ;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment