put trip dafult value, speed1 always positif

This commit is contained in:
Bluedragon 2023-04-14 02:21:28 +07:00
parent 8bc6fed494
commit 51a6c30794

View File

@ -207,11 +207,11 @@ volatile unsigned long howLongInMillis;
//#include <Button.h> //https://github.com/JChristensen/Button //from <Button.h> change to <JC_Button.h>
#include <JC_Button.h>
#define UP_pin 25 //4
#define DOWN_pin 26 //5
#define LEFT_pin 27 //6
#define RIGHT_pin 14 //7
#define OK_pin 12 //8
// #define UP_pin 25 //4
// #define DOWN_pin 26 //5
// #define LEFT_pin 27 //6
// #define RIGHT_pin 14 //7
// #define OK_pin 12 //8
#define UP_PIN 25 //4 //Connect two tactile button switches (or something similar)
#define DN_PIN 26 //5 //from Arduino pin 2 to ground and from pin 3 to ground.