aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
...
* Disable VSCode C/C++ error underlinesConfuSomu2021-02-20
| | | | | | It is generally misleading as header files are marked as unresolvable when it is not the case. I also tried to fix the problem by adjusting where libraries are searched by Intellisense.
* Use namepace for main_clock appConfuSomu2021-02-20
|
* Adopt C++ConfuSomu2021-02-20
| | | | | | | | A large number of changes had to be made to use C++. "extern C" had to be added for a few headers not adapted to C++. See https://github.com/raspberrypi/pico-sdk/pull/106 for fix in affected files. They will be removed when the pull request is merged in pico-sdk's master branch.
* Implement home menuConfuSomu2021-02-15
| | | | | | | | | Buttons are now detected and reported to the current running application (demoed in main_clock and home_menu with `oledWriteString(oled, 0,0,2, &data[0], FONT_6x8, 0, 1);`). I start to see the limitations with APP_DATA. It will be dropped in a futur commit after moving each app into its own namespace. Variables will be allocated dynamically on app init.
* Implement handling of button pressesConfuSomu2021-02-10
| | | | | I did changes to apps/main_clock as this app is also used for testing new features.
* Ignore cortex-debug state json filesConfuSomu2021-02-09
|
* Create a sort of framework for appsConfuSomu2021-02-08
| | | | | Each app has its own init, render, bgrefresh and destroy functions. The app data array alllows apps to persist data between function calls.
* Move initalisation to init.h/init.cConfuSomu2021-02-07
|
* Set display contrast in defineConfuSomu2021-02-07
| | | | | This simplfies setting the display contrast. A low value is used to save a little power and also to have the OLED last a bit longer.
* Show dateConfuSomu2021-02-07
|
* Use custom function for time string formattingConfuSomu2021-02-06
|
* Implement clock baseConfuSomu2021-02-06
| | | | | | This is a very basic version of the clock used to make sure that everything works, and I can manage to show the time on the display. No button functions have been implemented yet. But, it works!
* Initial commitConfuSomu2021-01-31