I did a few more tests with wiringpi. From my perspective everything points to there being a problem with the current version (2.52) on an RPi 4B.
What I've done: 1) I tried my fully configured pCP6.0.0 beta1 SD card in a 3B+ (configured with LMS, Squeezelite etc, plus Paul's repackaged wiringpi version 2.52). Setting the pull-up or pull-down resistor on an input pin will result in the pin taking a value of '1' or '0' respectively. This is as it should be I believe. 2) With the same SD card in a 4GB 4B, setting the resistors has no effect on the pin value. 3) I also tried it in a 1GB 4B - same result, i.e. the pin value does not change in response to setting the resistor. 4) I then tried a Raspbian Buster Lite image, and updated the wiringpi package to 2.52 using Gordon's instructions 'here' (http://wiringpi.com/wiringpi-updated-to-2-52-for-the-raspberry-pi-4b/). Same result on the 1G 4B - setting the resistor has no effect on the pin value. So the wiringpi version in pCP seems to be behaving the same way as it does in Raspbian, which is to say that I cannot setup an input pin so that shorting it to GND will change its value. ------------------------------------------------------------------------ chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110727 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
