PK70 GPIO
Posted: Tue Aug 28, 2018 6:48 pm
For the MOD5441x, Netburner provides a function to control GPIO lines.
For example J1[6] = 0, sets that line as an output and drives it low.
Is there an equivalent function for the PK70 ??
If so, what is the syntax and what is the include file ??
I tried this line to set that pin to GPIO:
J1[6].function(PIN6_GPIO);
The compile error is: "J1" was not declared in this scope"
The constant "PIN6_GPIO" is defined in "\pk70\include\pinconstant.h"
Thanks, Mike.
For example J1[6] = 0, sets that line as an output and drives it low.
Is there an equivalent function for the PK70 ??
If so, what is the syntax and what is the include file ??
I tried this line to set that pin to GPIO:
J1[6].function(PIN6_GPIO);
The compile error is: "J1" was not declared in this scope"
The constant "PIN6_GPIO" is defined in "\pk70\include\pinconstant.h"
Thanks, Mike.