Commit Graph

12 Commits

Author SHA1 Message Date
Martin Preuss
84403d07f6 avr: added initial module to handle reed contacts.
Detects and reports opening and closing of a window/door.
Nexts step is to allow for external configuration (e.g. standard mode
with one reed contact versus multi-contact mode to detect tilting of a
window/door).
2023-05-12 21:41:39 +02:00
Martin Preuss
45a63ad70b avr: minor reformatting 2023-05-10 21:10:00 +02:00
Martin Preuss
f8d9447fde avr/lcd: renamed some defs. 2023-05-10 21:09:37 +02:00
Martin Preuss
44bed4dc14 avr: fixed some bugs in address handling code
- fixed bugs in jumptable code and calls
  NOTE to self: addresses in flash are WORD addresses, so we need
  to double the address difference when working with bytes!
- correctly set params for call to cproAddressSetTimer
2023-05-10 21:09:08 +02:00
Martin Preuss
4a093905e8 Started working on CNY70 module (doesn't work, yet). 2023-05-02 00:03:41 +02:00
Martin Preuss
383e3ad93d build: added more build files for subfolders. 2023-04-26 17:55:40 +02:00
Martin Preuss
ebd5829435 avr: renamned some filesfrom flash module. handle FLASH_END. 2023-04-22 14:47:16 +02:00
Martin Preuss
270066dd9f avr: cleanup lowlevel com2 routines. 2023-04-22 12:45:06 +02:00
Martin Preuss
462515b566 avr: reduce register use in com2WaitForDataState1ms 2023-04-22 12:12:19 +02:00
Martin Preuss
3b44fb9c5b avr: split code in multiple files and routines. 2023-04-22 11:54:09 +02:00
Martin Preuss
3e6501c834 finished basic new structure. 2023-04-22 00:23:44 +02:00
Martin Preuss
5e12b8ad4e started reorganizing code into subfolders. 2023-04-22 00:04:10 +02:00