Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: EEPROM on i2c Real Time Clock Modules

by roboticus (Chancellor)
on Mar 04, 2015 at 01:29 UTC ( #1118688=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #setup bus number, EEPROM address and max eeprom size in bytes
    $i2cBus  = BB_I2C_PERI_1;
    
  2. or download this
    # set baudrate to 100kHz (AT24C32 at 3.3v, max speed = 100kHz))
    $objI2c->set_baudrate( $i2cBus, BB_I2C_CLOCK_100_KHZ );
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1118688]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2021-09-18 04:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?