joan wrote: ↑
Thu Mar 15, 2018 9:37 pm
FTrevorGowen wrote: ↑
Thu Mar 15, 2018 8:21 pm
+1, my 'C' "GPIO demo" codes use both wiringPi
methods and are working fine for me.
That's useful to know. I've ordered a Pi3B+ but don't expect to get it before next week.
The only issue I've had with my code, which was not Pi3B+
specific, but (probably) a known "kernel bug", was with the (SPI) code using 'C' system calls: viewtopic.php?f=44&t=207412
My current "workaround" is to use a wiringPi
routine to set the SPI clock speed (and not use the file handle returned). I could use the pigpio
eqivalent instead, no doubt, but haven't tried it yet. (I'm guessing, but haven't dug deeper into your or Gordon's source code to check, that it's possible to just
set the SPI clock speed "on its own".)
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, B2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B+, P3B, B+, A+ and a B2) but Buster on the P4B's. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm