Power & Source of Big Ideas

AntB wrote:
Hi weryzp.

Any news on the pull up for gpio?

Thanks in advance for your work


Have not worked on this yet, sorry

@HermannSW
Thanks for the info. If you can find a way to distinguish nanopi m1 vs nano neo I will add autodetection
you can do it using gpio command and bash script. To do it without resistor it will require pull-up feature to be enabled on gpio port. Unfortunately, currently enabled pull-up on gpio pin feature is not implemented. I will try to implement it soon and will be able to provide example how you can do it
If you're familiar with WiringPI library you can use WiringNP https://github.com/wertyzp/WiringNP library
Hi, so currently no PWM in your Nanopi WiringPI lib? > Looks like your compiler very strict, mine doesn't display those warnings > Do you run debian? I do run nanopi-neo-linux-rootfs-core-qte-sd4g-20160804.img.zip on Neo. Once I did insert that Neo SD card and booted M1 from that without problems. ...
Looks like your compiler very strict, mine doesn't display those warnings Also I want to notify everyone that pwm1 is not present in allwinner h3 chip, so pwm1 on pin 1 wouldn't work Friendlyarm, please, update nanopi m1 and neo wiki to reflect that GPIOA6 pin cannot do pwm1. Check datasheet v1.1+: ...
https://github.com/wertyzp/WiringNP
Check latest commit, fixed warnings and pins 2, 3
Thanks for you contribution, I will check reported bug.
Check this topic
viewtopic.php?f=47&t=260
Hi, please check my attempt to port WiringPI to NanoPI M1
https://github.com/wertyzp/WiringNP
Can you send some feedback on how it works?
Hi, please check my attempt to port WiringPI to NanoPI M1
https://github.com/wertyzp/WiringNP
I need someone to test GPIO IN/OUT functions and PWM
Please report any errors to github
My try to compile matrix is succeeded, but this doesn't answers to a question how to code. I prefer wiringPi library as it's very easy to use. Btw WiringOP already have code to support Allwinner H3, all what friendlyarm needs is to remap gpio outputs in wiringPi.c. check https://github.com/zhaolei/W...
Hi, I didn't found any information if it supports hardware PWM and if yes, on what pins. Does board support hardware PWM?