Mindstorms 3rd Party ROBOTC Drivers RobotC
[Home] [Download] [Submit a bug/suggestion] [ROBOTC Forums] [Blog] [Support this project]
Defines | Functions | Variables

eeprom.h File Reference

RobotC EEPROM Driver. More...

#include "common.h"

Go to the source code of this file.

Defines

#define EEPROM_I2C_ADDR   0xA0
#define EEPROM_PAGE_SIZE   128

Functions

bool EEPROMreadBytes (tSensors link, long address, tByteArray &data, int numbytes)
bool EEPROMwriteBytes (tSensors link, long address, tByteArray &data, int numbytes)
bool _EEPROMwriteDummy (tSensors link, long address)

Variables

tByteArray EEPROM_I2CRequest
tByteArray EEPROM_I2CReply

Detailed Description

RobotC EEPROM Driver.

eeprom.h provides an API for the AT24C512, 24AA512 and 24AA1025 EEPROMs.

Changelog:

License: You may use this code as you wish, provided you give credit where its due.

THIS CODE WILL ONLY WORK WITH ROBOTC VERSION 3.59 AND HIGHER.

Author:
Xander Soldaat (xander_at_botbench.com)
Date:
20 February 2011
Version:
0.2

Definition in file eeprom.h.