Giter VIP home page Giter VIP logo

arduino-spi's People

Contributors

mikaelpatel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

arduino-spi's Issues

Arduino Mega

I am trying to use your library to let me extend my SRAM on Arduino Mega.

I am using this wire configuration with 23LC1024:

https://www.dropbox.com/s/lmacvq9q74d72mb/Captura%20de%20tela%202017-10-18%2012.34.44.png?dl=0

23LC1024 -> Arduino Mega
1 CS (Chip Select) -> D53
2 SO (Slave Out) -> D50 (MOSI)
4 Vss (Ground) -> Ground
5 SI (Slave In) -> D51 (MISO)
6 SCK (Clock) -> D52 (Clock)

I am using the example: Arduino-Storage -> Stream

And I changed it to:

#include "Storage.h"
#include "GPIO.h"
#include "SPI.h"
#include "MC23LCXXX.h"

#define USE_SOFTWARE_SPI
//#define USE_HARDWARE_SPI

#if defined(USE_SOFTWARE_SPI)
#include "Software/SPI.h"
Software::SPI<BOARD::D51, BOARD::D50, BOARD::D52> spi;
#elif defined(USE_HARDWARE_SPI)
#include "Hardware/SPI.h"
Hardware::SPI spi;
#endif

// External memory storage
MC23LC1024<BOARD::D53> sram(spi);

But with or without the 23LC1024 is attached to the arduino. For me shows the same SRAM Size:

sram.SIZE = 131072
sram.room = 111072

am I doing something wrong? Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.