Useful tips for everyday
What is the purpose of using preprocessor? In computer science, a preprocessor (or precompiler) is a program that processes its input data to produce output…
Can SPI be half-duplex? The SPI can communicate in half-duplex mode by setting the BIDIMODE bit in the SPIx_CR1 register. In half-duplex data communication, one…
Can a function return a char? The CHAR function accepts a decimal integer and returns the character identified by that number converted to ASCII or…
How do you make an infinite loop in Arduino? infinite loop Syntax Using for loop. for (;;) { // statement block } Using while loop.…
How do I program my ATmega328 with Arduino Nano? Bootloading and programming a Atmega328P/PU using arduino Nano or Uno as ISP Open Arduino IDE. Click…
How do I program an Arduino using USB to TTL? Uploading program using FTDI USB to TTL Serial Converter in Arduino IDE Connect the FTDI…
What is serial communication between Arduino and NodeMCU? Serial communication is required when you want to transfer sensor data or any data from one device…
Why DHT11 is not working? Try to plug it to a USB hub powered by an external power source. It might also help replacing the…
What is Port manipulation? Port registers allow for lower-level and faster manipulation of the i/o pins of the microcontroller on an Arduino board. The chips…
What kind of pin do you use for attachinterrupt? Normally you should use digitalPinToInterrupt (pin), rather than place an interrupt number directly into your sketch.…