Fix: make all examples sequence proper

This commit is contained in:
turmary
2020-12-25 15:52:28 +08:00
parent 4e171d138e
commit fc04762c9e
5 changed files with 4 additions and 5 deletions
@@ -43,7 +43,6 @@ void setup() {
byte mode = CAN.getMode();
SERIAL.printf("CAN BUS get mode = %d\n\r",mode);
SERIAL.println("CAN BUS Shield init ok!");
SERIAL.println("CAN BUS Shield init ok!");
}
void MCP2515_ISR() {
+1 -1
View File
@@ -46,7 +46,7 @@ void loop() {
if (stmp[62] == 100) {
stmp[62] = 0;
stmp[61] = stmp[62] + 1;
stmp[61] = stmp[61] + 1;
}
}
+1 -1
View File
@@ -52,7 +52,7 @@ void loop() {
if (stmp[6] == 100) {
stmp[6] = 0;
stmp[5] = stmp[6] + 1;
stmp[5] = stmp[5] + 1;
}
}
+1 -1
View File
@@ -56,7 +56,7 @@ void loop() {
if (stmp[62] == 100) {
stmp[62] = 0;
stmp[61] = stmp[62] + 1;
stmp[61] = stmp[61] + 1;
}
}
+1 -1
View File
@@ -102,7 +102,7 @@ void loop() {
if (stmp[6] == 100) {
stmp[6] = 0;
stmp[5] = stmp[6] + 1;
stmp[5] = stmp[5] + 1;
}
}