Arduino-Storage
External Memory Storage library for Arduino
Block.ino File Reference
#include "Storage.h"
#include "TWI.h"
#include "Driver/AT24CXX.h"
#include "Hardware/TWI.h"
Include dependency graph for Block.ino:

Go to the source code of this file.

Macros

#define FREQ   100000UL
 

Functions

Hardware::TWI twi (FREQ)
 
void setup ()
 
void loop ()
 

Variables

AT24C32 eeprom (twi)
 
const uint32_t BLOCK_MAX = 16*eeprom.PAGE_MAX
 
Storage::Block block (eeprom, BLOCK_MAX)
 

Macro Definition Documentation

#define FREQ   100000UL

Definition at line 11 of file Block.ino.

Function Documentation

void loop ( )

Definition at line 47 of file Block.ino.

void setup ( )

Definition at line 28 of file Block.ino.

Hardware::TWI twi ( FREQ  )

Variable Documentation

const uint32_t BLOCK_MAX = 16*eeprom.PAGE_MAX

Definition at line 25 of file Block.ino.

AT24C32 eeprom(twi)