Category : arduino

I am working with an OLED display connected to Arduino nano, and I have created multiple classes for my other components. But for the case of display, I need to create an object Adafruit_SSD1306 display(OLED_WIDTH, OLED_HEIGHT); and then call begin method using the display object display.begin(SSD1306_SWITCHCAPVCC, OLED_ADDR); and I need the display object to be ..

Read more

I can’t upload my code to my uno. I already restart my board, update the module, reinstall the IDE and there is no input on the Tx/Rx pins. I try to upload an empty file that only have void loop and void setup also failed. An error occurred while uploading the sketch C:UsersHPAppDataLocalArduino15packagesarduinotoolsavrdude.3.0-arduino17/bin/avrdude -CC:UsersHPAppDataLocalArduino15packagesarduinotoolsavrdude.3.0-arduino17/etc/avrdude.conf -v ..

Read more