[JM] 9/7/2017 What is firmata? https://github.com/firmata/protocol '''tfirmata''' is a Tcl implementation of Arduino Firmata: * Original code: https://github.com/pdt/tfirmata * documentation: http://www.p-code.org/tfirmata * an enhanced version: http://www.androwish.org/index.html/dir?ci=68647d69a65029d3&name=assets/tfirmata/src The original '''tfirmata''' did not work for me on Windows7, I suspect there is an endless loop on the tfirmata::open cmd. The enhanced version (by [chw]) worked just fine, with the following code as a minimum example: console show package require tfirmata set bd [tfirmata::open COM8] $bd mode 13 out for {set i 1} {$i <20} {incr i} { $bd dset 13 1 tfirmata::sleep 250 $bd dset 13 0 tfirmata::sleep 250 puts $i } puts done... ---- Writing to LCD with I2c module: with some like this:<
> [http://www.4tronix.co.uk/arduino/pictures/i2c_03.jpg] <>Enter Category Here