carsten_h wrote: 
> Ok. I did it. Do we have to do it every time after boot? Then I would
> start it in the script.
> 
> Then I get this error:
> > 
Code:
--------------------
  >   > Exception in thread Thread-2:
  > Traceback (most recent call last):
  > File "/usr/local/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  > self.run()
  > File "/usr/local/lib/python3.6/threading.py", line 864, in run
  > self._target(*self._args, **self._kwargs)
  > File "argononed.py", line 81, in temp_check
  > val = float(temp.replace("'C",""))
  > ValueError: could not convert string to float: 'VCHI initialization 
failed\n'
--------------------
> > 

Yes you need to load i2c-dev before starting the script.   The script
has to run with root permissions, as it make a call to vcgencmd, which
requires it.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer
------------------------------------------------------------------------
paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=111546

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to