Uncomment CAN
This commit is contained in:
parent
2e548997f8
commit
b14ca65bae
1 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ void setup() {
|
|||
Serial.begin(115200);
|
||||
Serial.println("Needy finetuner by Midgard");
|
||||
|
||||
/*obus_module::setup(OBUS_TYPE_NEEDY, OBUS_NEEDY_ID_DEVELOPMENT);*/
|
||||
obus_module::setup(OBUS_TYPE_NEEDY, 0);
|
||||
|
||||
pinMode(PIN_GAUGE, OUTPUT);
|
||||
pinMode(PIN_LED, OUTPUT);
|
||||
|
@ -72,7 +72,7 @@ int ledPattern(int32_t timeLeft, int16_t target, int16_t sliderValue) {
|
|||
int ledCycle = 0;
|
||||
|
||||
void loop() {
|
||||
/*bool is_message_valid = obus_module::loopNeedy(&message, callback_game_start, callback_game_stop);*/
|
||||
bool is_message_valid = obus_module::loopNeedy(&message, callback_game_start, callback_game_stop);
|
||||
|
||||
int16_t sliderValue = (getSliderValue() + previousSliderValue) / 2;
|
||||
previousSliderValue = getSliderValue();
|
||||
|
|
Loading…
Reference in a new issue