Skip to content

j54n1n/spiflash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

spiflash

SPI Flash memory driver for Winbond W25X and W25Q and compatible series.

Interface

Connect at least the pins VCC, DI, DO CS and GND.

Usage

Include the SpiDevice library and its dependencies and declare an instance. The optional second template parameter can be used to specify a different memory size than the default 4Mbit/512kB.

#include <SPI.h>
#include <SpiDevice.h>
#include <SpiFlash.h>

SpiFlash<SpiDevice<8> > flash;

void setup() {
  flash.init();
  // other code ...
}

About

SPI Flash memory driver

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages