Top new questions this week:
|
I am currently working on an SPI interface to measure the voltage of an amplified sensor bridge signal. I am using an ESP32 module to control the device. Since I am logging the data to an SD card, I …
|
I have this code #include <Arduino.h> void setup() { DDRD = B00001000; } void delayNanoSeconds(int time){ int ans = (float)time / 62.5; for(int i = 0; i < ans; i++){ …
|
I’ve written code for an Arduino Nano that when a button is pressed, it sends an IR command. It is set so that if no button press has been received for a period of 10 seconds, it will enter sleep mode …
|
I am new to this and I have purchased the Lilygo T-Wristband to prototype a watch that will vibrate upon receiving a 1-bit bluetooth signal from an android app. The goal is to allow the user to set …
|
This probably has a simple resolution, but can’t find the right combination. I’m trying to setup a function (setupScreen) to take as an argument a function to do the actual setup: void ScreenHelpers::…
|
Greatest hits from previous weeks:
|
What is an ICSP pin? I have read that it is an AVR and a tiny programming header for the Arduino, but what is an AVR and what does an ICSP pin do?
|
I have hooked up 2 channel 5-volt relays with NodeMCU v1.0 as shown in the fritzing below. Relay are powered with a different power source than NodeMCU. As of now, I am powering the NodeMCU from my …
|
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 …
|
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 …
|
As the title states. What’s the difference between the two? analogWrite(pin,0-255) vs digitalWrite(pin,LOW-HIGH)
|
I’m just a tinkerer learning Arduino with my son and I was surprised that when I plugged the USB cord back in to the Arduino the program was still running and I thought to myself, “it’s a good thing I …
|
For some weird reason, the following code doesn’t compile. I get a “stray ‘\302’ in program” error around volatile unsigned int encoderPos = 0;, and I have no idea what the issue is. I’ve been trying …
|