Power & Source of Big Ideas

Problems blinking an LED with NanoPi NEO

Moderators: chensy, FATechsupport

Hello

I am working with a NanoPi NEO and am trying to flash an LED. I have it connected to pin 23 of the 24-pin connector (through a series resistor), which I believe is GPIOC2. I am using the Bakebit software (Python) and have changed the pin number to '66' in the Python script

Code: Select all

led = 66


My led is not blinking. I have tried different port numbers and different pins. I have measured voltage on all pins in the 24-pin connector while the blink script was running to try to find the correct pin but found no luck. I don't have the BakeBit board - could this be the problem? Oddly enough, I did manage to get an OLED display to work using pins 3 and 5 (SDA/SCL).

Any suggestions on what to try next?

thx
This work on my NanoPi Air
http://www.nutdiy.com/2016/11/nanopi-ne ... atrix.html

Install matrix:
git clone https://github.com/friendlyarm/matrix.git
cd matrix
make
make install

Run:
matrix-gpio_out

it Blink LED on Pin7
Thank you. That worked.
RoumenL - thanks but I am using Python.

Who is online

In total there are 25 users online :: 0 registered, 0 hidden and 25 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 25 guests