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
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
a456211438
avr: timer table is now consulted every 100ms (instead of every second).
2024-09-09 15:49:07 +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
Martin Preuss
ed21f4bbfc
avr: fixed a bug in message creation.
2024-09-07 14:58:37 +02:00
Martin Preuss
2fa3e9d4ab
avr: re-introduce UID to new VALUE messages, set UID in VALUE response messages.
2024-09-06 22:50:32 +02:00
Martin Preuss
5e4ca45443
avr: updated display message.
2024-09-05 23:41:48 +02:00
Martin Preuss
090917ea09
ave: removed unneeded defs, beautifications.
2024-09-05 23:04:24 +02:00
Martin Preuss
7e3523ec42
avr: improved MESSAGES documentation.
2024-09-05 23:04:01 +02:00
Martin Preuss
12a2cc1b8e
avr: fixed a typo.
2024-09-05 21:36:38 +02:00
Martin Preuss
6b0972d76e
avr: implement setvalue for n12.
2024-09-05 21:36:24 +02:00
Martin Preuss
984cccc25b
avr: updated documentation for messages.
2024-09-05 18:55:02 +02:00
Martin Preuss
dbad1ba8a1
avr: removed no longer needee defs.
2024-09-05 18:54:32 +02:00
Martin Preuss
b70e0e0bc2
avr: moved defs to correct files.
2024-09-05 18:54:14 +02:00
Martin Preuss
595a140428
avr: reorder code (only need to load X if there is still something to do).
2024-09-05 18:53:00 +02:00
Martin Preuss
b94105bf78
avr: refactor SEND_VALUE message code.
2024-09-05 18:52:25 +02:00
Martin Preuss
eec544d1b8
avr: send firmware version in FLASH_READY and DEVICE messages.
2024-09-05 18:50:43 +02:00
Martin Preuss
cb6e21715a
avr: shorten CPRO_WriteComSendStats
2024-09-05 18:49:19 +02:00
Martin Preuss
026d4a57fb
avr: remove unneeded code.
2024-09-05 18:48:27 +02:00
Martin Preuss
7745accfae
avr: refactor ctc calculation code.
2024-09-05 18:48:11 +02:00
Martin Preuss
cea3137b5a
avr: add LED module LED_SIMPLE
...
very much shorter version with only basic functionality.
2024-09-05 18:47:32 +02:00
Martin Preuss
a23997db39
avr: adapted README to latest changes.
2024-09-05 03:20:42 +02:00
Martin Preuss
51ba17d43f
avr: fixed list of modified regs.
2024-09-05 03:20:21 +02:00
Martin Preuss
575b0285fe
avr: optimize for space.
2024-09-05 03:20:00 +02:00
Martin Preuss
277a27516c
avr: fixed bootloader address var (depends on device).
2024-09-05 03:19:01 +02:00
Martin Preuss
817ff958b9
avr: use common code.
2024-09-05 03:18:22 +02:00
Martin Preuss
ea2cd6e58e
avr: reorganized data to simplify message creation.
2024-09-05 03:17:32 +02:00
Martin Preuss
f2ab0d8b9f
avr: fixed comments.
2024-09-04 23:18:20 +02:00
Martin Preuss
e0a6ddd89f
avr: removed unneeded def.
2024-09-04 23:18:01 +02:00
Martin Preuss
c2a6d33ff2
avr: reduced code (bootloader now 569 words).
2024-09-01 22:29:08 +02:00
Martin Preuss
8aeb488e2e
avr: share code (saves 8 bytes)
2024-09-01 20:19:32 +02:00
Martin Preuss
45cae14f6a
avr: reuse code (saves a few more bytes).
2024-09-01 20:12:02 +02:00
Martin Preuss
892d9f5c5a
avr: fixed a possible problem (generated machine code is shorter).
2024-09-01 20:11:18 +02:00
Martin Preuss
65e60c2dec
Replace multiple wait macros with calls (saves 10 bytes).
2024-09-01 20:06:05 +02:00
Martin Preuss
319cdbce18
added future message defs
2024-08-25 14:27:13 +02:00
Martin Preuss
c800e99dc8
avr: added comments
2024-08-25 14:26:36 +02:00
Martin Preuss
2da873bbb9
avr: fixed comments.
2024-08-25 14:18:56 +02:00
Martin Preuss
9b7d043682
Started working on aqhome-nodes which will replace aqhomed.
2023-09-13 23:31:02 +02:00
Martin Preuss
3e85dc9bd5
avr: removed unused code.
2023-05-14 22:24:05 +02:00
Martin Preuss
54301fed44
avr/reed: moved notification source to REED_Run.
...
This make the node send the new status almost immediately after change.
2023-05-13 01:13:28 +02:00
Martin Preuss
226922d3e4
avr/reed: implemented tilt detection mode
...
- implemented tilt detection mode
- added docu
- change the way a VALUE2 message is printed when value type is "door"
2023-05-12 23:19:01 +02:00
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