IJFW - IchigoJamのBASICプログラムをメモリカード(MMCまたは互換カード)に保存したり読み出したりできるプログラム。メモリカードにファームウェアのファイルを置くだけで、電源ON時に自動的に書き換える機能も搭載(一応こちらがメイン)。LPC1114FN28専用。
参考URL http://www.cyberchabudai.org/index.php/entry?tag=IJFW
Diff: I2CSlave2/I2CSlave2.h
- Revision:
- 0:43cce7b453d0
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/I2CSlave2/I2CSlave2.h Thu Apr 28 11:23:24 2016 +0000 @@ -0,0 +1,20 @@ +#ifndef I2C_SLAVE2_H +#define I2C_SLAVE2_H + +#include "mbed.h" + +class I2CSlave2 : public I2CSlave { +public: + + I2CSlave2(PinName sda, PinName scl); + + int read(char *data, int length); + int read(); + int write(const char *data, int length); + int write(int data); + void address(int address, int mask); + int addressFromMaster(); + +}; + +#endif