a fork of -TinyBasic for Arduino- by Xtase (fgalliat) @Nov 2016
It actually uses ~43.6KB of flash & 7K of RAM (statically allocated)
so It WILL NOT run on Arduino INO boards ...
(It's an early stage work, so it's dirty & not well documented)
- added support for :
-
ssd1306 LCD I2C Screen + 3 user btns (up/down/ok) [usable inside the BASIC]
-
SPI uSD Card reader
-
ESP8266 Wifi module
-
2nd UART (two serial ports control)
-
Teensy ++2 module
-
Canon X-07 Serial protocol
-
-
3 user buttons & LCD control routines ( BTN() + LCCLS, LCPRINT <line>,<expr> ),
You are able to create simple menus !! -
It provides a regular (even if limited) BASIC shell, and can act as an HTTP Server to launch a 'web.bas' file
that outputs directly in the browser.
10 FOR I =1 TO 5
20 PRINT "web ";: PRINT I
30 NEXT I
40 FILES
50 PRINT "Free Mem:";: PRINT FREE()
- It also have 2 serial ports (MASTER / SLAVE) that can be hot-swapped with 'CINV' command.
note that 'CINIT' <baud_rate> does ONLY set the "Software" Serial port & that the "Hardware" Serial port (USB),
is always @ 115200 bauds (you can change it in the code).
-
Since 11/28/2016 : Started an experimental way to produce 4 String variables
-
Since 12/03/2016 : Support now (w/ a few bugs anyway) Canon X-07 PRGs writing to/reading from uSDCard
See basic_source/loader.bas & X07_source/LOADSD.TXT & SV2SD.TXT -
previous authors of TinyBasic :
-
Mike Field [email protected]
-
Scott Lawrence [email protected]
-
Brian O'Dell [email protected]
-