Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
View: 257|Reply: 0

Writing to GPIO pins on Orange Pi Zero with Mono

[Copy link]

2

Threads

2

Posts

22

Credits

Novice

Rank: 1

Credits
22
Post time 2019-7-10 20:47:04 | Show all posts |Read mode
Hi


I wrote a Mono app for Armbian Ubuntu running on an Orange Pi Zero to read incoming telemetry data from the serial port.That part is working fine, but I now need to activate one of the pins on the GPIO. I simply have to occasionally set pin 19 to high for about a second and then clear it again.
Unfortunately, I'm struggling quite a bit with this. Whereas reading the serial port was relatively easy, I'm quite lost on writing to a GPIO pin with Mono.
If any one has any pointers I'd greatly appreciate it. Perhaps a sample or an idea of which library I should be using would be greatly appreciated. Thank you

You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2019-9-19 18:21 GMT+8 , Processed in 0.063554 second(s), 23 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list