chill wrote:
> I don't know what 'block' looks like (coming back from 'get_fanspeed')
When I look at the code, block is simply the percent value for the fan
of the matching fan entry:
Code:
--------------------
fancfg = int(float(curpair[1]))
--------------------
curpair[1] is what is behind the "=" and int(float(...)) will simply
make an int of this value. If someone used eg. "10.3" it will result in
a "10".
Code:
--------------------
but if fanconfig changes then I think the link between block and prevblock
will be broken.
--------------------
Yes, that has to happen! Even if the temperature changes, block will
change if it's in a new range.
The value of block will be given to the hardware of the Argon case in
the line:
Code:
--------------------
bus.write_byte(address,block)
--------------------
pi4 4gb picoreplayer with lms and squeezelite for usb inside an argon
one case
pi3b+ (7\" display, hifiberry dac+ pro) picoreplayer with
squeezlite/jivelite for hifiberry and bluetooth headphone inside a
smartipi touch case
two airport express
ikea symfonisk
------------------------------------------------------------------------
carsten_h's Profile: http://forums.slimdevices.com/member.php?userid=69113
View this thread: http://forums.slimdevices.com/showthread.php?t=113575
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix