うおーるぼっと版 豊四季タイニーBASIC
Dependencies: BufferSerial Servo TB6612FNG2 mbed
豊四季タイニーBASICをうおーるぼっとに移植してみました。
豊四季タイニーBASICの詳細はこちらをどうぞ。 https://vintagechips.wordpress.com/2012/06/14/%E8%B1%8A%E5%9B%9B%E5%AD%A3%E3%82%BF%E3%82%A4%E3%83%8B%E3%83%BCbasic%E3%83%AA%E3%83%95%E3%82%A1%E3%83%AC%E3%83%B3%E3%82%B9%E5%85%AC%E9%96%8B/
mbedドライブに"AUTO.BAS"というファイル名でプログラムを保存しておくと電源投入時に自動実行します。 自動実行したくない時は、SW2を押したまま電源投入して下さい。
[MOVEコマンドのフォーマット]
MOVE 左車輪速度 , 右車輪速度 , WAITタイマ(ms)
速度の値 : -100 〜 100
その他詳細は、"ttbasic.cpp"を見て下さい。
Diff: ttbasic.h
- Revision:
- 0:2206b894635f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ttbasic.h Sat Sep 05 00:29:26 2015 +0000 @@ -0,0 +1,7 @@ +/* + TOYOSHIKI TinyBASIC V1.0 + Reference source + (C)2012 Tetsuya Suzuki, All rights reserved. +*/ + +void basic(void);