Oczywiście nie namawiam ale w ASM program który mierzy temperaturkę przy pomocy DS18B20 wysyła ją do PC-ta poprzez Uart i jednocześnie zapewnia "kontakt" z RTC DS1307 zajmuje jak poniżej
C:\AVRprogr\bb\bb.asm(4): Including file 'C:\AVR Studio\AvrAssembler2\Appnotes\tn2313def.inc'
C:\AVRprogr\bb\bb.asm(27): Including file 'C:\AVRprogr\bb\usart.inc'
C:\AVRprogr\bb\bb.asm(28): Including file 'C:\AVRprogr\bb\1wiredef.inc'
C:\AVRprogr\bb\bb.asm(29): Including file 'C:\AVRprogr\bb\i2c.inc'
C:\AVRprogr\bb\bb.asm(130): No EEPROM data, deleting C:\AVRprogr\bb\bb.eep
ATtiny2313 memory use summary [bytes]:
Segment Begin End Code Data Used Size Use%
---------------------------------------------------------------
[.cseg] 0x000000 0x0002cc 672 26 698 2048 34.1%
[.dseg] 0x000060 0x000060 0 0 0 128 0.0%
[.eseg] 0x000000 0x000000 0 0 0 128 0.0%
Pozdrawiam Wojtek