IJFW - IchigoJamのBASICプログラムをメモリカード(MMCまたは互換カード)に保存したり読み出したりできるプログラム。メモリカードにファームウェアのファイルを置くだけで、電源ON時に自動的に書き換える機能も搭載(一応こちらがメイン)。LPC1114FN28専用。

Dependencies:   mbed

参考URL http://www.cyberchabudai.org/index.php/entry?tag=IJFW

Committer:
oks486
Date:
Sun Aug 21 07:51:01 2016 +0000
Revision:
2:daf6c4719496
Parent:
0:43cce7b453d0
Modified I2c2mem for "FILES" command

Who changed what in which revision?

UserRevisionLine numberNew contents of line
oks486 0:43cce7b453d0 1 #ifndef I2C_SLAVE2_H
oks486 0:43cce7b453d0 2 #define I2C_SLAVE2_H
oks486 0:43cce7b453d0 3
oks486 0:43cce7b453d0 4 #include "mbed.h"
oks486 0:43cce7b453d0 5
oks486 0:43cce7b453d0 6 class I2CSlave2 : public I2CSlave {
oks486 0:43cce7b453d0 7 public:
oks486 0:43cce7b453d0 8
oks486 0:43cce7b453d0 9 I2CSlave2(PinName sda, PinName scl);
oks486 0:43cce7b453d0 10
oks486 0:43cce7b453d0 11 int read(char *data, int length);
oks486 0:43cce7b453d0 12 int read();
oks486 0:43cce7b453d0 13 int write(const char *data, int length);
oks486 0:43cce7b453d0 14 int write(int data);
oks486 0:43cce7b453d0 15 void address(int address, int mask);
oks486 0:43cce7b453d0 16 int addressFromMaster();
oks486 0:43cce7b453d0 17
oks486 0:43cce7b453d0 18 };
oks486 0:43cce7b453d0 19
oks486 0:43cce7b453d0 20 #endif