What about changing port mode, e.g. digital, analog, pwm, pull-ups, etc? Will this be possible via owfs? Uart read/write would be great too.
I'm happy to write my own wrapper in Python (and still use 2.7 for package compatibility) as long as the basic functions are supported via owfs. Even read-only would be a great start. I'll give it a poke this afternoon. C > On Nov 15, 2015, at 5:22 AM, Matthias Urlichs <matth...@urlichs.de> wrote: > >> On 13.11.2015 20:50, Johan Ström wrote: >> Just sending F2 does not work, no. You need to send F2, then two more >> bytes identifying what you want to read For example, sending F2, 04, 01 >> and then two read timeslots would give you the return value 01 0x where >> the last x indicates the value of port 1. (Unless I got something wrong >> here.. but something like that). > > Correct. You'll also need to do the CRC dance if you want to write or > support alarms. (Necessarily, since this is all about reliability, thus > the slave will only take down the alarm condition when it's *sure* that > the master got the data. Same for writing.) > > I'm working on server-side code (Python3) that gives you a more > high-level interface to all of this. Stay tuned. ;-) > > -- > -- Matthias Urlichs > > > ------------------------------------------------------------------------------ > _______________________________________________ > Owfs-developers mailing list > Owfs-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/owfs-developers ------------------------------------------------------------------------------ _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers