Commit Graph

572 Commits

Author SHA1 Message Date
Martin Preuss
4687a8726b aqhome: moved datafile implementations into their own folder. 2024-09-13 21:43:00 +02:00
Martin Preuss
7a5900be25 avr: added functions to change speed.
Main code might work at 8 MHz, but boot code is compiled for 1 MHz,
so we need to set speed accordingly when rebooting into boot loader.
2024-09-13 21:41:38 +02:00
Martin Preuss
2d09e22ec6 avr: "Utils_WaitNanoSecs 100000" doesn't work at 8MHz (too many cycles). 2024-09-13 21:40:22 +02:00
Martin Preuss
cdcb4e2b3e avr: rewrote timer code (split into timer and basetimer).
Only basetimer depends on hardware and clock speed. Works onj AtTiny 84
at 1 MHz and 8 MHz.
2024-09-13 21:39:24 +02:00
Martin Preuss
6ff68b848c avr: fixed firmware variant. 2024-09-13 01:11:33 +02:00
Martin Preuss
0f98ed87a4 aqhome: improved error handling. 2024-09-13 01:11:11 +02:00
Martin Preuss
ee94d8a583 avr: finalized label names. 2024-09-13 01:08:07 +02:00
Martin Preuss
4ba0e01c9f avr: disable DS18B20 support for devices n11 and n12. 2024-09-12 19:19:14 +02:00
Martin Preuss
c908eb4840 avr: removed dead code. 2024-09-12 13:12:01 +02:00
Martin Preuss
892dc65898 avr: added missing defs. 2024-09-12 13:11:50 +02:00
Martin Preuss
0c819bcd19 avr: added documentation about COM2 lines and protocol. 2024-09-12 13:06:35 +02:00
Martin Preuss
caf04e88f3 avr: n12: handle MODULES_DS18B20 and MODULES_OWI_MASTER 2024-09-12 13:06:10 +02:00
Martin Preuss
79f4018341 avr: send DS18B20 sensor data. 2024-09-12 13:05:27 +02:00
Martin Preuss
f1fe99673b avr: added debug instr. 2024-09-12 13:05:01 +02:00
Martin Preuss
79afc70b92 avr: include printDs inside #ifdef 2024-09-12 13:04:39 +02:00
Martin Preuss
ec033cfd10 avr: fixed crc code. 2024-09-12 13:03:45 +02:00
Martin Preuss
0107330c32 avr: use provided polynomial. 2024-09-12 11:46:44 +02:00
Martin Preuss
cb43378a2f avr: fixed typos. 2024-09-12 11:46:20 +02:00
Martin Preuss
0fafb36100 avr: added definitions to devices. 2024-09-12 11:46:02 +02:00
Martin Preuss
88aea30da1 avr: added missing subdirs. 2024-09-12 11:45:32 +02:00
Martin Preuss
4a20933397 avr: added debug output to lcd for ds18b20. 2024-09-12 11:45:22 +02:00
Martin Preuss
a10cd8293b avr: provide polynomial for crc function. 2024-09-12 11:44:54 +02:00
Martin Preuss
c055ee6cc2 avr: added module for 1-wire master role (used by DS18B20). 2024-09-12 11:44:10 +02:00
Martin Preuss
7fbe9744ea avr: fixed apidoc. 2024-09-12 11:43:11 +02:00
Martin Preuss
0fabc6d613 avr: fixed code for DS18B20 (works now!). 2024-09-12 11:42:59 +02:00
Martin Preuss
39933a957b avr: added first version of ds18b20 code. 2024-09-12 04:01:52 +02:00
Martin Preuss
6308207548 ignore coredumps. 2024-09-11 01:36:26 +02:00
Martin Preuss
2de89ecc96 avr: fixed module cny70 (basically works now). 2024-09-11 01:35:24 +02:00
Martin Preuss
85d7ccf0f2 avr: fixed port definitions for device n12. 2024-09-11 01:34:54 +02:00
Martin Preuss
d14363b8f0 avr: disable lcd module on standard n11 device. 2024-09-11 01:34:21 +02:00
Martin Preuss
a298e6845a avr: enable new devices. 2024-09-11 01:33:52 +02:00
Martin Preuss
d8985183f7 avr: add test device (n00). 2024-09-11 01:33:36 +02:00
Martin Preuss
ad34bc8ec3 avr: add olde device n06.
This one featured a cny70 sensor to be used to detect open windows.
2024-09-11 01:33:14 +02:00
Martin Preuss
0bc37343a5 avr: improved apidoc. 2024-09-10 10:58:48 +02:00
Martin Preuss
73f749b5bb Revert "avr: make lcdOneByteCommand() and lcdTwoByteCommand() more generic."
This reverts commit 28882010a9.
2024-09-10 10:25:29 +02:00
Martin Preuss
28882010a9 avr: make lcdOneByteCommand() and lcdTwoByteCommand() more generic. 2024-09-10 10:25:09 +02:00
Martin Preuss
b0afa98387 avr: change debug position. 2024-09-10 02:57:54 +02:00
Martin Preuss
6ba1a18de1 avr: enable lcd module. 2024-09-10 02:57:33 +02:00
Martin Preuss
c79037a1e1 avr: move definition of TWI_BIT_LENGTH to device defs. 2024-09-10 02:56:50 +02:00
Martin Preuss
743b33664f avr: improved lcd module. 2024-09-10 02:56:12 +02:00
Martin Preuss
fd43a89bcd avr: fixed abug. 2024-09-09 15:50:10 +02:00
Martin Preuss
9bd376464a avr: optimized cny70 module (not tested, yet). 2024-09-09 15:49:58 +02:00
Martin Preuss
e70c294d9b avr: added code for missing modules. 2024-09-09 15:49:26 +02:00
Martin Preuss
a456211438 avr: timer table is now consulted every 100ms (instead of every second). 2024-09-09 15:49:07 +02:00
Martin Preuss
1c4d94c5ce avr: fixed a typo in LED pin def. 2024-09-09 15:47:11 +02:00
Martin Preuss
50546799dc aqhome: add new msg codes to type group "VALUES". 2024-09-09 15:46:48 +02:00
Martin Preuss
9bc837249e aqhome: fixed a minor bug. 2024-09-09 15:46:08 +02:00
Martin Preuss
2215d68544 avr: only send reed message if we have an address. 2024-09-07 15:40:17 +02:00
Martin Preuss
fc6130f4cc avr: fixed a bug. 2024-09-07 15:39:54 +02:00
Martin Preuss
cf1983d264 avr: set response code. 2024-09-07 14:59:01 +02:00