Top new questions this week:
|
I wrote a C code for obtaining current time on an ESP32-S2 board but it always returns a day in 1969. I was wondering which part of the code is wrong. Here is my code: (I have left out the code that …
|
I’m trying to upload anything to my Arduino Uno Wifi Rev2, I’m on Arch Linux, but I’m failing with the following error be it via IDEv2 or arduino-cli: avrdude: usbdev_open(): cannot open device: …
|
I am working in an Arduino project in visual studio. I need to get and set time to a RTC clock. That’s why I am adding a ds3231 header file in my project from GitHub. When I want to build “it’s …
|
Greatest hits from previous weeks:
|
I’m trying to upload some code to an non-arduino nano with the CH340G chip, and the avrdude refuses to let me upload. The error I’m getting is: Using Port : COM4 Using Programmer …
|
I’d like to make three arrays of the same length. According to the documentation, Arrays must be defined as int myArray[10]; where 10 can be substituted for a known length (another integer), or filled …
|
I have found a few good tutorials on how to send and receive data via I2C in connected arduinos. My limitation is now how to transmit different types of data like for instance, long, float, etc. Right …
|
I tried to upload example code form arduino software and got error below. Two arduino attach with my computer running windows8.1. And These arduino using port 3 and port 4. The arduino using Port 3 is …
|
The documentation for attachInterrupt() says: … millis() relies on interrupts to count, so it will never increment inside an ISR. Since delay() requires interrupts to work, it will not work if …
|
What is the difference between print( ) and println( )? I see none when I run a code.
|
Im using the arduino Micro pro to read the data out of a temperature sensor (lm35). The program is compiling and NOT uploading, but when I try and open the serial monitor is says: Error opening serial …
|