mirror of
https://github.com/usatiuk/EggbotWireless.git
synced 2025-10-26 08:47:49 +01:00
slow down i2c because it didn't work at 1MHz ATMega
This commit is contained in:
@@ -112,10 +112,11 @@ void execCommand(Command cmd) {
|
||||
}
|
||||
|
||||
void setup() {
|
||||
Serial.begin(115200);
|
||||
Serial.begin(9600);
|
||||
Wire.begin(8);
|
||||
Wire.onReceive(receiveEvent);
|
||||
Wire.onRequest(requestEvent);
|
||||
Wire.setClock(10000);
|
||||
Serial.println("Hello!");
|
||||
eggStepperRPM = servoStepperRPM = curRPM;
|
||||
pinMode(A0, OUTPUT);
|
||||
|
||||
Reference in New Issue
Block a user