3 Commits

Author SHA1 Message Date
jonny
4aab1e1343 Outsource global variables, Optimize comments
- outsource global variables and objects
    - move from config.hpp to global.cpp / hpp
    - rename config.hpp, thus change all includes
- re-arrange includes -> in source files instead of header

- optimize / make function comment titles more consistent
- optimize comments overall

- add several temporary files to gitignore
- fix unused variable compiler warnings
2024-03-10 12:55:13 +01:00
jonny_l480
c5438b6c4c Fix bug custom length, add hyst; Adjust beeping
- Fix bug where custom length did not get rounded
- Reduce beeping lengths, remove gap between beep events
- Add hysteresis to custom length selection to prevent unwanted beeps or
flickering display at certain poti positions
- change max loglevel to verbose in menuconfig
2022-08-21 13:45:29 +02:00
jonny_ji7
a3f3cb340c Add config, buzzer, evalSwitch, switch to c++
Add config.cpp/hpp
    - macros for all input and output pins
    - gloabl evaluated switch objects
    - buzzer object
    - display config
    - encoder config

Move main.c to main.cpp and adjust code to be c++ compatible

add custom library evaluated switch (copied from armchair project)
add buzzer object (copied from armchair project)

add control.cpp/hpp with control task (no function yet)
2022-08-17 10:29:11 +02:00