some good introduction from instructables: Bus Pirate 3EEPROM Explorer Board
steps are:
1. find the device address
2. write 8 bytes to scratchpad
3. verify from scratchpad and get the authorization code
4. write scratchpad to EEPROM
5. verify scratchpad write
6. read back the values
FredBlais has written a working example here
and the Onwire.h library is located in PaulStoffregen's github
references:
sheepdogguides
PJRC
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1271724996/3#3
steps are:
1. find the device address
2. write 8 bytes to scratchpad
3. verify from scratchpad and get the authorization code
4. write scratchpad to EEPROM
5. verify scratchpad write
6. read back the values
FredBlais has written a working example here
and the Onwire.h library is located in PaulStoffregen's github
references:
sheepdogguides
PJRC
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1271724996/3#3
留言
張貼留言