Page 1 of 1

Problems blinking an LED with NanoPi NEO

Posted: Mon Feb 27, 2017 7:50 pm
by Paket
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

Re: Problems blinking an LED with NanoPi NEO

Posted: Tue Feb 28, 2017 6:19 pm
by RoumenL
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

Re: Problems blinking an LED with NanoPi NEO

Posted: Wed Mar 01, 2017 4:33 pm
by Paket
Thank you. That worked.

Re: Problems blinking an LED with NanoPi NEO

Posted: Sat Mar 04, 2017 7:10 pm
by RoumenL

Re: Problems blinking an LED with NanoPi NEO

Posted: Mon Mar 13, 2017 8:02 pm
by Paket
RoumenL - thanks but I am using Python.