Arduino Project Help

Hello can I get an example of how to set this up. Its part of an Arduino code I am working on. Pseudo code is as follows.


Call the programmer-defined compareInputWithMasterKey() function and provide 0 as the function input, and save the function return value in difference.

If (the value of difference is equal to 0)


Here's how functions work.

Can I get an example of how to use a " user - defined " in the following part of a psudo codeā€¦ please

Call the user-defined Measure Temperature function to measure the current temperature.

Arduino functions.

Duplicate topics moved and merged

Cross-posting is against the rules of the forum. The reason is that duplicate posts can waste the time of the people trying to help. Someone might spend 15 minutes (or more) writing a detailed answer on this topic, without knowing that someone else already did the same in the other topic.

Repeated cross-posting will result in a suspension from the forum.

In the future, please take some time to pick the forum board that best suits the topic of your question and then only post once to that forum board. This is basic forum etiquette, as explained in the sticky "How to use this forum - please read." post you will find at the top of every forum board. It contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.