On Wednesday 16 Mar 2016 21:10:24 Johan Ström wrote:
> So.. Just to sum things up before digging further.
>
> We have a 0x29 (DS2408-based) LCD, which works in 2.8p15, but not on 3.1p1
> We have a 0xFF (L. Swart-based) LCD, which works in 2.9p3, but not in 2.9p5
> Both use DS2482-800-based i2c controller.
Yup, not sure Nico has tried any 2.9 versions but probably the same issues on
both devices
> Both exhibit the same issue: the first character written is lost, and
> two pipe chars (|) is added to the end of the output.
> You have been testing with owwrite from the same version as owserver was
> running.
Yup.
> Nico Bouthoorn reported using /LCD_H/screenyx. Andy, which nodes have
> you tried writing to?
Generally through fhem (perl) which provides a basic set of commands, relevant
section (hoping it makes some sense) is...
[quote from OWDevice.pm]
$owdevice{"FF"} = {
# LCD - LCD controller by Louis Swart
"read" => [ qw(counters.0 counters.1 counters.2 counters.3
counters.ALL),
qw(cumulative.0 cumulative.1 cumulative.2 cumulative.3
cumulative.ALL),
qw(data),
qw(memory),
qw(register),
qw(version) ],
"write" => [ qw(backlight),
qw(cumulative.0 cumulative.1 cumulative.2 cumulative.3
cumulative.ALL),
qw(data),
qw(LCDon),
qw(line16.0 line16.1 line16.2 line16.3 line16.ALL),
qw(line20.0 line20.1 line20.2 line20.3 line20.ALL),
qw(line40.0 line40.1 line40.2 line40.3 line40.ALL),
qw(memory),
qw(register),
qw(screen16 screen20 screen40) ],
"poll" => [ qw(counters.0 counters.1 counters.2 counters.3) ],
"state" => [ qw(counters.0 counters.1 counters.2 counters.3) ],
"interface" => "display",
};
[/quote]
I think that follows the owfs L Swart manual pretty closely
> For L.Swart-LCD, do you have the issue when writing to both screenXX and
> lineXX? Please include full commands used when writing.
I have been using
#!/usr/bin/perl -w
use OWNet;
my $owserver = OWNet->new('<IP_address>:4304 -v -C');
$owserver->write("uncached/FF.870900000100/line20.0","Hello World");
$owserver->write("uncached/FF.870900000100/line20.1","0123456");
$owserver->write("uncached/FF.870900000100/line20.2","abcdefg");
$owserver->write("uncached/FF.870900000100/line20.3","Bye");
for testing purposes both on server and remote
just tried
owwrite "/FF.870900000100/line20.0" "abcdefg"
owwrite "/FF.870900000100/screen20" ""
and all correct on 2.9p3
> You've come a far bit by pinpointing which version it broke in (2.9p4 or
> p5), let's see if we can fix this :)
I keep going through the git log but beyond me at the moment.
I have tried debug on both but cannot see any significant differences using the
above perl script
Thanks for getting back
Andy
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers