After a couple of days off we are back on the air. Now we have three functions:
void LedOn(); void LedOff; boolean LedIsOn();
This last one returning 0 or 1 depending on led state.
About the coding standards, we've decided to go with google's C++ coding style guide, aiming to use cpplint.py to stylistically validate the source code.
There is a lot to be done about calling functions, passing arguments, raising errors such as malformatted JSON and so on, but anyway, on step at a time.
Action points:
1. Create function definition - 1 argument, return type void.
2. Test cpplint.py on ProofOfConcept2.ino.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.