Top new questions this week:
|
I want to use Arduino-mega generate multiple square wave signal,the siganl is 40kHz and it can be used to drive ultrasonic transducer. So,I use the trategy in article “Ultraino: An Open Phased-…
|
I don’t know if this is the right forum to ask this, but I can’t find people that want to help, so let’s try it here… First I had an F446RE, and program it in PlatformIO with an Arduino Framework… …
|
i want to ask, how to get correct float value from uint32_t or long variable is devided by 10?? long var3 = 1139399025; int a = 3; int b = 10; void setup() { Serial.begin(9600); Serial.println((…
|
I am working on a relatively simple stoplight simulator that uses four LEDs – red, green, yellow, and white – in addition to a button. The 3 colored stoplight LEDs cycle as a real stoplight would. If …
|
I’m working with a try{} catch(){} exception right now and I want to change a Variable. For this my board has to connect to the Internet and with a try{} statement it will try to do so. If it fails I …
|
I would like to create a custom lighting, with PWM capability, powered from battery. I would like to use flexible led filaments, and since those consumes more than 40mA, I can’t use them directly on a …
|
I can’t seem to find any library online so I can start developing FreeRTOS tasks for the Arduino Nano 33 BLE in the Arduino IDE. Is FreeRTOS incompatible with this Arduino?
|
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’m trying to upload the code from here to work with an ESP8266. So I copy/pasted the code to the Arduino IDE and I get this error: C:\Program Files (x86)\Arduino\libraries\WiFi\src/WiFi.h:79:9: …
|
I’m a medium user in Arduino. I baught a pHmeter controller with RS485 output (MODBUS RTU protocol). I want to get pH value read by the controller over RS485 module and Arduino. According the …
|
I want to have a LED turn on when I push a button and go off when I push the button a second time. This code doesn’t work: const int buttonPin = 4; const int motorPin = 10; const int ledPin = …
|
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 …
|
Is there a way I can have multiple parts of the program running together without doing multiple things in the same code block? One thread waiting for an external device while also blinking a LED in …
|
I’m looking to convert an int value to a char array. currently I’ve found the following will return [number] int num = [number] str = String(num); str.toCharArray(cstr,16); Serial.println(cstr); …
|
Can you answer this question?
|
So, I’m trying to send data from ESP boards- 32 and 8266 using sim800l module to firebase. But I’m getting HTTP not connected error. I tried to search web but it seems that firebase changed something …
|