Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed-STM32F103C8T6 mbed-rtos mbed-dev
Diff: eeprom.h
- Revision:
- 10:ef9fa7e34eff
- Parent:
- 8:a32b83084287
- Child:
- 11:9dc8bbb8dda3
--- a/eeprom.h Wed Apr 29 03:14:26 2020 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ -#ifndef EEPROM_H -#define EEPROM_H - -#define MCP24AA02_ADDR (0xA0) // 24AA02 2K EEPROM using i2c Address -#define WRITE (0x00) // 24AA02 2K EEPROM using i2c Write bit -#define READ (0x01) // 24AA02 2K EEPROM using i2c Read bit -#define MCP24AA02_MID (0xFA) // Manufacturer ID Address (Read Only 0x29==Microchip) -#define MCP24AA02_DID (0xFB) // Device ID Adress (Read Only 0x41==4 is i2c family and 1 is 2K device) - -void readID(int addy); - -void readEE(int addy); - -void writeEE(int addy,int data); - -void eraseEE(void); - -#endif \ No newline at end of file