Hello,
iam a little bit insecure in set the GPIO Driver on armstone A5 on WEC2013 (no experience in gpio programming, sorry) . I just want to use PIN 1-8 as a Writer. I am programming in c# and i found a vb.net class, which is no problem to translate or to use. But i don't understand to set the GPIO Driver correctly (I think it is enough to set these Parameters?):
reg open \Drivers\BuiltIn\DIGITALIO
reg set val Port DWord 0
reg set val UseAsIO DWord ?
reg set val DataDir DWord ?
reg set val DataInit DWord 1 'by Default ever PiN should be 1
reg save
Please help me, I found the documentation but i don't understand the hex part for UseAsIO/ DataDir/ DataInit.
Thank you very much and sorry for this maybe stupid question, but i Need your help