1. Engineering
  2. Computer Science
  3. write an arduino program with proper syntax that declares two...

Question: write an arduino program with proper syntax that declares two...

Question details

Write an Arduino program (with proper syntax!) that declares two global (setup) integer variables a = 2 and b = 3, and defines a local (loop) integer variable c that is the sum of a and b. (Note that this does not use any pin I/O on the Arduino, it is just a syntax exercise.)

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution