Good Day,
I have major trouble with knowing what program structure to use.
For example, I want to use an Arduino to integrate to a LCD Module, have buttons and one or two LEDs, have an SD card, a RTC and a few sensors (maybe temp) and a WiFi shield.
All of these components can be classified as inputs or outputs or both.
Is there a standard rule for the main program loop? can someone point me to literature around managing multiple components?
Kind Regards,
StudentSA
Have you considered that you might be over-thinking this?
Encapsulation is a useful keyword.
StudentSA:
Good Day,
I have major trouble with knowing what program structure to use.
For example, I want to use an Arduino to integrate to a LCD Module, have buttons and one or two LEDs, have an SD card, a RTC and a few sensors (maybe temp) and a WiFi shield.
All of these components can be classified as inputs or outputs or both.
Is there a standard rule for the main program loop? can someone point me to literature around managing multiple components?
Kind Regards,
StudentSA
Tutorials
Follow the above link to Arduino Tutorials