Skip to content

sram_read_write_test

Arnd edited this page Dec 29, 2016 · 5 revisions

Sample program "sram_read_write_test"

The sample program demonstrates the use of the library to clear memory and then write a data structure to it and subsequently read that structure from memory. It is written using the standard Arduino IDE, which will also work with the standard Atmel Studio software. Communications between the Arduino and the memory is done via I2C (also called "wire" or "TWI" (two-wire-interface)). The standard pin for SDA (system data) and SCL/SCK (system clock) are used and Arduino Pin 2 as the CS (chip-select).

Hardware Layout

Overview

Overview
Installation
Class Instantiation

Public Functions

get()
put()
clearMemory()
fillMemory()

Public Variables

SRAMBytes

Example Program

sram_read_write_test

Clone this wiki locally