Has anyone put together a ports based library similar to the serial control library? The idea is to simplify the toggle of the 8 I/O pins via the serial port. I don't think they ever finished it to their original intent which was to also simplify the interrogation of the pins for their current states.
SerialControl-ish...?(7 posts) (3 voices)
Or seen one out there on the vast internets?
If you don't mind the re-mapping of numbers, you could use the Firmata library that comes with the Arduin IDE.
I'd love to see more such solutions, especially in combination with wireless, but I haven't gotten to it myself yet...
Hi, Perhaps this is what you have in mind?
It provides a sketch that allows for simple serial commands to change/read JeeNode port-pins. It works for both local (serial connected) and remote nodes.
Thanks Charlie. That is awesome work! Way more functionality than I expected.
JCW, Is there a master site index somewhere? Some of the good content on the site is hard to find a path to occasionally.
Is there a master site index somewhere?
There will be, once I get the new site up-and-running. You can preview it at:
projects dot jeelabs dot net slash projects slash cafe slash wiki
Sorry for the obfuscation. The new server has been waiting for a faster uplink for over 3 months now - it's still on the slow end of an ADSL connection, and not yet able to handle google and mainstream traffic.
The new website has a wiki, and one of the first things I want to add to it are a couple of good page link collections. Since more people can participate, I hope some of you will jump in to help improve such an index over time. There are also over 650 weblog posts by now. Pointers to the main articles, with annotation and related links on the wiki could turn it from a long stream-of-consciousness to a pretty effective reference... well, that's my hope, anyway.
But first things first.
Right now, I'm bogged down by having to maintain two sets of information for the old and the new café - and irritated by my "non-ISP" for letting this upgrade take so long. The good news is that I've gotten a sign of life from them yesterday. Maybe miracles are still possible this year...
Charlie, I think there is a bug in the sketch associated with toggling the digital pins on ports 2 & 4 (locally and remotely). Analog side of the port seems to work fine. If you haven't revisited the sketch it in a while don't worry about it. I'll find some time to figure it out. Thanks again. You saved me a lot of time.