Commit Graph

80 Commits

Author SHA1 Message Date
Martin Preuss
0e83988904 avr: fixed wait phase in 1-wire-master code. 2024-09-18 00:14:08 +02:00
Martin Preuss
3bec999ae0 avr: don't wait before checking ATTN line. 2024-09-18 00:13:37 +02:00
Martin Preuss
5b3c813981 avr: beautifications. 2024-09-18 00:12:56 +02:00
Martin Preuss
b490646799 avr: fixed docu. 2024-09-18 00:11:59 +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
ee94d8a583 avr: finalized label names. 2024-09-13 01:08:07 +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
f1fe99673b avr: added debug instr. 2024-09-12 13:05:01 +02:00
Martin Preuss
ec033cfd10 avr: fixed crc code. 2024-09-12 13:03:45 +02:00
Martin Preuss
88aea30da1 avr: added missing subdirs. 2024-09-12 11:45:32 +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
2de89ecc96 avr: fixed module cny70 (basically works now). 2024-09-11 01:35:24 +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
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