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
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
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 user 31106

The process of designing and writing source code as part of a program (or sketch) for Arduino. For questions about uploading code to an Arduino board, use the [uploading] tag instead.

1
vote
You are asking about Pointers - https://www.tutorialspoint.com/cprogramming/c_pointers.htm.
answered May 16 '17 by Mazaryk
3
votes
As the others have stated, no you can't have multiple loop functions. What you need to do is modify your approach so that each thing you are trying to do can be done sequentially without blocking (ie: …
answered Apr 30 '17 by Mazaryk
2
votes
// Record the start time into time1 if(count==0) { time1=millis(); } // Set time2 to the current time time2=millis(); // Read the sensor sensorValue = analogRead(sensorPin); // If the sensor valu …
answered Apr 2 '17 by Mazaryk
0
votes
Connecting to an SQL database from the Arduino would be the hard way. Creating a simple web page that can read data from your database and display said data would be the easier way. You could then acc …
answered Mar 20 '17 by Mazaryk
1
vote
Start by assuming they match. Loop over each element pair, compare them, and set a flag when you find a pair that don't match. bool they_match = true; // assume they match for ( int i = 0; i < x; i …
answered Apr 25 '17 by Mazaryk
2
votes
You need to store and send out the 'note off' messages in addition to the 'note on' messages.
answered Apr 14 '17 by Mazaryk