Hey Roman,
I'm happy to see you working on this. Since you are making a new version, perhaps it makes sense to change the names. Like maybe it makes sense to change the object from [arduino] to [firmata]? That's something I thought about doing in the past. This would also make it easier for testers going forward because they could keep the old Pduino installed and also use your new library. I suppose then the library would be called something besides Pduino too.
But if you want to keep those names, that's fine by me.
.hc
On Feb 28, 2012, at 3:15 AM, Roman Haefeli wrote:
Hi all
An improved version of [arduino] and its help patch is ready for testing and commenting. There is also a new [arduino-gui] class, that graphically emulates an Arduino board and is supposed to be very easy to use, especially for beginners.
Get it from here: https://github.com/reduzent/pduino
Some notes:
[arduino]
- got rid of many external dependencies
- now depends only on [comport] and [pdstring]
- fixed long-standing bug with wrongly reporting digital inputs
- improved performance for digital inputs (thanks to Ingo)
arduino-help.pd
- general overhaul
- updated to comply with Firmata v2.3
- improved sections for different pin modes
- added pin mode support table
- added reference off all arduino commands
- reflect supported modes for every pin in the documentation
- explain pull-up resistor features
- un-deprecate 'digitalIns' and 'analogIns' commands
[arduino-gui]
- new
- fully emulate Arduino board (only Firmata 2.2 and 2.3)
- easily generate valid arduino commands
- set pin mode and states with few mouse-clicks
- display current state for every pin
- requires Pd[-extended] >= 0.43
arduino-gui-help.pd
- new
- quickly explain [arduino-gui]
Please test and report back!
@Hans If no show stopper is found, do you mind if those updates and additions are added to pd-svn/externals/hardware/arduino?
Cheers Olsen & Roman
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Programs should be written for people to read, and only incidentally for machines to execute.