|
NetBurner 3.5.7
PDF Version |
#include <pins.h>
The following class is created to assist in processor pin configuration and operation for GPIO and special functions. Each pin is defined by the system in the \Nburn\<Platform>\system and \Nburn\<Platform>\include directories for the specific platform you are using.
Examples: J1[5] = 1; Set pin J1-5 high J2[30] = 0; Set pin J2-30 low J1[5].hiz(); Set pin J1-5 to be a high impedance input BOOL bpinstate = J2[30]; Set the pin to be an input and read if ( !J2[30] ) iprintf( "The pin is low" );