LEDs
#12
@longsleep, thanks again for the script reference (works well), and just a note I did have to change the shabang line (#!/usr/bin/python2) because it won't run in Python3, not as written anyway; string doesn't have an uppercase attribute.

I was able to cross reference the LEDs on my lab board and wiggle all their pins with sysfs very nicely/

Quote:BCM GP    Name  sysfs   Board
GPIO27     PH9      233    pin(13)
GPIO26     PC16      80    pin(37)
GPIO25     PC15      79    pin(22)
GPIO24     PC14      78    pin(18)
GPIO23     PC13      77    pin(16)
GPIO22     PC12      76    pin(15)
GPIO21     PC11      75    pin(40)
GPIO20     PC10      74    pin(38)
GPIO19     PC9        73    pin(35)
GPIO18     PC8        72    pin(12)
These pins were chosen because they are on a contiguous block (for the ribbon cable) plugging into the Sparkfun breakout board.
Big Grin

Grüß


Messages In This Thread
LEDs - by modsbyus - 06-18-2016, 08:03 PM
RE: LEDs - by MarkHaysHarris777 - 06-18-2016, 09:51 PM
RE: LEDs - by pfeerick - 06-20-2016, 05:17 AM
RE: LEDs - by MarkHaysHarris777 - 06-20-2016, 08:00 AM
RE: LEDs - by martinayotte - 06-20-2016, 12:17 PM
RE: LEDs - by MarkHaysHarris777 - 06-20-2016, 12:32 PM
RE: LEDs - by martinayotte - 06-20-2016, 01:41 PM
RE: LEDs - by xalius - 06-20-2016, 02:02 PM
RE: LEDs - by MarkHaysHarris777 - 06-20-2016, 09:15 PM
RE: LEDs - by longsleep - 06-20-2016, 02:11 PM
RE: LEDs - by MarkHaysHarris777 - 06-20-2016, 10:19 PM
RE: LEDs - by MarkHaysHarris777 - 06-21-2016, 01:14 AM
RE: LEDs - by stephen fleming - 04-12-2017, 06:38 PM
RE: LEDs - by xalius - 04-13-2017, 05:33 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)