Power & Source of Big Ideas

nanopi neo: Matrix code possible bug matrix-0.96_128x64_oled

Moderators: chensy, FATechsupport

Hi there,
I just built the matrix code because I would like to try the oled functionality it provides. I needed to change the pin numbers from 7 (203) and 11 (0) to 13 (2) and 15 (3) because I already use these pins for other purposes. It builds fine but when I execute the generated module it complains about pin 203 and 0 being occupied already. So it looks like these pins are hardcoded somewhere in the fahw-lib shared object and cannot be changed from code (OLEDInit(pin1,pin2). Please advise.

Thanks in advance.
Djagab wrote:
Hi there,
I just built the matrix code because I would like to try the oled functionality it provides. I needed to change the pin numbers from 7 (203) and 11 (0) to 13 (2) and 15 (3) because I already use these pins for other purposes. It builds fine but when I execute the generated module it complains about pin 203 and 0 being occupied already. So it looks like these pins are hardcoded somewhere in the fahw-lib shared object and cannot be changed from code (OLEDInit(pin1,pin2). Please advise.

Thanks in advance.


Hi,
About how to use the OLED you can refer to FriendlyARM BakeBit wiki part, FriendlyARM launched a new hardware kit which named BakeBit Starter Kit. The kit includes the OLED and provides complete code.
http://www.friendlyarm.com/index.php?ro ... uct_id=168


thank you!

Who is online

In total there are 24 users online :: 0 registered, 0 hidden and 24 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 24 guests