1.

Can you run an Arduino code in Raspberry Pi or any other microcontroller or embedded system?(a) Yes(b) NoThe question was asked during an online interview.This interesting question is from Programming in division Arduino Programming of Arduino

Answer»

Right choice is (b) No

The explanation: The ARDUINO code uses a lot of pre-built libraries that are specific to the Arduino PLATFORM and would CERTAINLY not work on any other platform. However, one can remove the lines of code containing the prebuilt libraries from their code and use the code to run on any other C++ platform performing other minor MODIFICATIONS to the code, SINCE the original Arduino code is after all based on C++.



Discussion

No Comment Found

Related InterviewSolutions