Thinary / ThinaryArduino

Thinary Development Board for Arduino
GNU General Public License v3.0
14 stars 13 forks source link

cannot convert 'bool' to 'PinStatus' for argument '2' to 'void digitalWrite(pin_size_t, PinStatus)' #6

Open Seio69 opened 3 years ago

Seio69 commented 3 years ago

Error compiling sketches and libraries in Arduino IDE, see flollowing sample code:

define BUZZER 7

bool buzzerOutput; void setup() { }

void loop() { digitalWrite(BUZZER, buzzerOutput ); }