avr-libc hasn't caught up yet with this chip family.
There is a new Arduino core (https://github.com/SpenceKonde/D...) that will give you some working code. The EEPROM code is known to work as I have an AVR128DA28 here in front of me. The I2C (Wire) library as works well.
Or you could install MPLABX and use MCC to generate some code.
<avr/eeprom.h>: EEPROM handling | AVR Libc
util/twi.h | AVR Libc
https://github.com/microchip-pic-avr-examples/?q=twi
the examples repositories are a WIP
"Dare to be naïve." - Buckminster Fuller
- Log in or register to post comments
Top- Log in or register to post comments
Topavr-libc hasn't caught up yet with this chip family.
There is a new Arduino core (https://github.com/SpenceKonde/D...) that will give you some working code. The EEPROM code is known to work as I have an AVR128DA28 here in front of me. The I2C (Wire) library as works well.
Or you could install MPLABX and use MCC to generate some code.
- Log in or register to post comments
Topwhich generated:
Are you saying this is generating the "wrong code" for accessing the EEPROM on 128DA28 ?
- Log in or register to post comments
TopPages