Nov 5
Discuss final project progress
Jacob:
Ordered WiFly and stuffs
Alex:
Mapping robot
Talk about similar projects
...
If time allows
Things to talk about:
- Communication protocols:
- Serial
- SPI - Arduino SPI library or by software (super simple)
- I2C - built-in Wire library on Arduino
Serial example:
void setup() {
Serial.begin(9600);
}
void loop() {
char buffer[128];
int i;
if (Serial.available()) {
i = 0;
while(Serial.available()) {
buffer[i] = Serial.read();
i++;
delay(1);
}
buffer[i] = 0;
Serial.print("You sent: ");
Serial.println(buffer);
}
}