Decide right or left for you
Dependencies: mbed LCD_DISCO_F469NI TS_DISCO_F469NI BSP_DISCO_F469NI
Project description
Nothing more simple: this is a high quality project allowing the user to download cosmos random to find a direction in your life when you have no idea where to go.
The decisions are restrained to RIGHT or LEFT.
Features
- Cosmos download via SCP (secure copy using SSH for data transfer).
- Countdown displays the remaining downloading time.
- Pick randomly RIGHT or LEFT and display the choice with an arrow and text.
- Track the number of decision.
- Home button to download again the cosmos.
Instructions
- Plug the board to USB to supply the board with some electricity (if using USB micro ('USB USER' plug) you must put the jumper JP2 on 'USB', if using USB mini ('USB ST-LINK' plug) you must put the jumper JP2 on 'STLK').
- Wait a very short moment so the board boot and the touchscreen initialize (a green screen should appears).
- Touch anywhere on the touchscreen to start the cosmos downloading.
- Observe the random direction extracted from the cosmos.
- Touch again as many time as needed to decide again (the number of decision is displayed in the top left corner). NB: each cosmos download contains an infinity of random direction.
- If desired you can download again the cosmos via the home screen by touching the home button.
- If needed (the cosmos may be busy or broken), you can reset the board and go back on the home screen by pushing the black button or by plugging/unplugging the USB power cable.
Disclaimer
Injuries
Any injury resulting from an abnormal of the decider code cannot be imputed to the author of this code.
Joke
This is a fantasy, don't take it for serious.
Revisions of main.cpp
Revision | Date | Message | Actions |
---|---|---|---|
6:70ef7ee9e4f3 | 2019-05-29 | "Masterchief" VS "The Office" version. | File Diff Annotate |
5:ef44b84a149f | 2019-05-17 | Countdown and home button added. | File Diff Annotate |
4:0f34a6ad1f4c | 2019-05-16 | Ready to decide. | File Diff Annotate |
0:0e730157c767 | 2015-12-18 | Initial version | File Diff Annotate |