Giter VIP home page Giter VIP logo

sdlocker-tiny's People

Contributors

nephiel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

sdlocker-tiny's Issues

Pins for ATmega

Actually it is not an issue but a comment to support ATmega.

Tested: ATmega328p & Arduino Nano 3.0
Should also work: ATmega8/48/88/168/328
Or Arduino UNO, Nano, Pro Mini

Revise the file "sdlocker-tiny.cpp" line 121 - 124 & 135

#define MOSI_BIT 3 //Arduino D11
#define MISO_BIT 4 //Arduino D12
#define SCK_BIT 5 //Arduino D13
#define CS_BIT 2 //Arduino D10

#define LEDSW_BIT 1 //Arduino D9

Copy whole code (File: sdlocker-tiny.cpp) to Arduino IDE, revise the lines, select the board, and upload. Cheers.

Better Circuit Diagram?

Hi, I'm struggling to understand the wiring "diagram" in the .cpp file and was hoping that a simple diagram (even in something like tinkercad) would be able to be added to the readme. Maybe @CRImier (judging from #3 ) could chime in on this?

Many thanks,
Jake

Part list

Could you give a complete list of parts for this project? Looks really great.

Using USI

I forked the repo (to my tz1) and added USI support. The docs are at best confusing, at worst wrong, but I get the high speed.

NOTE MOSI and MISO are REVERSED!!! - I needed to swap the pins.

I'm also not using the interrupts, but doing a series of writes to the register to do the clocking - 1 cycle each. There are other optimizations, but this is the main one.

I've done I2C master using the USI, and always wanted to try to get the SPI working.

Thanks for the port.

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.