tamakichi / arduino-w25q64 Goto Github PK
View Code? Open in Web Editor NEWArduino用 SPI接続フラッシュメモリW25Q64ライブラリ
Arduino用 SPI接続フラッシュメモリW25Q64ライブラリ
#include <arduino.h>
cause compile error.
Accurate file name is "Arduino.h".
This is not a problem on Windows, but on Linux and others it will cause an error.
こんにちは
ライブラリの公開、ありがとうございます。
下記のUnique IDの取得ですが、
データシートによるとUnique IDは64Bit(8Byte)ではないでしょうか??
ご確認をお願いいたします。
//
// Unique IDの取得
// d(out): Unique ID 7バイトを返す
//
void W25Q64_readUniqieID(byte* d) {
W25Q64_select();
mpSPI->transfer(CMD_READ_UNIQUE_ID);
mpSPI->transfer(0x00);
mpSPI->transfer(0x00);
mpSPI->transfer(0x00);
mpSPI->transfer(0x00);
for (byte i =0; i <7; i++) {
d[i] = mpSPI->transfer(0x00);
}
W25Q64_deselect();
}
こんにちは
ライブラリの公開、ありがとうございます。
uint16_t W25Q64_pageWrite(uint16_t sect_no, uint16_t inaddr, byte* data, byte n)
この関数の最後の引数がbyte型になっています。
byte型は0から255までの8bitの数値を格納しますが、
W25Q64のPage Program(0x02)では、一度に最大256バイトまで書き込めると思います。
ご確認ください。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.