Arduino-Projekte.de
 


IC 24Cxx EEPROM

Testaufbau

Arduino AT24C16

Pinbelegung

24C16_connections

Arduino 24Cxx Bibliothek

  Arduino Library: AH_24Cxx
  Beispielcode: AH_24Cxx_test.ino

AH_24Cxx.h Funktionen

 //Object initialisation
 AH_24Cxx(int ic_type,int deviceaddress);

 //ic_type
  //AT24C01
  //AT24C02
  //AT24C04
  //AT24C08
  //AT24C16
  //AT24C32
  //AT24C64
  //AT24C128
  //AT24C256

 //Funktionen
 void write_byte  (unsigned int eeaddress, byte data);
 void write_page  (unsigned int eeaddresspage, byte* data, byte length);
 byte read_byte   (unsigned int eeaddress);
 void read_buffer (unsigned int eeaddress, byte *buffer, int length);

Links

  Atmel serial EEPROM

 
İcopyright by Alhin.de