Greg Erskine wrote: 
> I think a RPi4 uses SMBus(1) so I can't see how argon's script works for
> a RPi4B?
> 
> Can someone enlighten me?

Yes, I can!

This is the result on my Pi 4B:

Code:
--------------------
    tc@musikbox:~$ sudo python3
  Python 3.8.5 (default, Jul 25 2020, 17:04:10) 
  [GCC 10.1.0] on linux
  Type "help", "copyright", "credits" or "license" for more information.
  >>> import RPi.GPIO as GPIO
  >>> GPIO.RPI_REVISION
  3
--------------------


So the rpi_revision has nothing to to with the number of the Pi.



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

Reply via email to