Got GPIO working in C# (finally)
Chris Botha
New Member Posts: 48 ✭
Many thanks to JKuo. The glitch is in the SDK pin numbering... wrote an app to allow me to step through them to figure it out.
http://www.youtube.com/watch?v=fbb_8DsKFlE
rewrote the code to slightly more rational commands and then expanded to create a slightly beefier program that accepts various input.
http://www.youtube.com/watch?v=fbb_8DsKFlE
rewrote the code to slightly more rational commands and then expanded to create a slightly beefier program that accepts various input.
Comments
-
The "beefier" program full source is here
http://ceebeeoddsandsods.blogspot.com/2016/10/testing-up.html
(to hard to post here, everything I click to insert images freezes the page greyed out, firefox, or chrome.)
it runs taking input pin, delay in ms, and number of repeats. Works well.
https://www.youtube.com/watch?v=fdgHwKqz_yw
it includes the simplified instruction set.