Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 13931

The Arduino Uno is the most common of the Arduino boards. It is based on the ATmega328P microcontroller.

-1 votes

How to Store the Value of A Sr04 Ultrasonic distance sensor (ping)?

If you want to store it as int, you have to firstly store it in a long type then convert it into int. For instance: long i; int j; i = getReading(); j = (int) i; There are many ways to do it, for …
Penthrite's user avatar
3 votes

Failed to read DHT22 sensor using Arduino Uno

I suggest you to modify the following lines of code to check which reading has issue. if (isnan(h) || isnan(t) || isnan(f)) { Serial.println("Failed to read from DHT sensor!"); return; }
Penthrite's user avatar