Project aiming to make a self-controlled solar reflector
Dependencies: Accelerometer LCD Inverter Algorithm MotorDriver Anemometer GUI ArduinoJson Misc Definitions Pushbutton WebSocketClient temp_fan
Diff: main.cpp
- Revision:
- 1:07f86b4db069
- Parent:
- 0:74d6e93ec977
- Child:
- 2:944511c6c55f
diff -r 74d6e93ec977 -r 07f86b4db069 main.cpp --- a/main.cpp Wed Feb 10 00:01:15 2021 +0000 +++ b/main.cpp Mon Feb 15 21:49:09 2021 +0000 @@ -22,9 +22,9 @@ Ticker ti; int mode = OP_NORMAL; -Pushbutton bt_fn(PIN_BT1,&mode); -Pushbutton bt_inc(PIN_BT2); -Pushbutton bt_dec(PIN_BT3); +Pushbutton bt_fn(PIN_BTFN,&mode); +Pushbutton bt_inc(PIN_BTINC); +Pushbutton bt_dec(PIN_BTDEC); Pushbutton* Pushbutton::LastPressed = &bt_fn; //Function Declarations