NetBurner 3.5.6
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: P1[5] = 1; Set pin P1-5 high P2[30] = 0; Set pin P2-30 low P1[5].hiz(); Set pin P1-5 to be a high impedance input BOOL bpinstate = P2[30]; Set the pin to be an input and read if ( !P2[30] ) iprintf( "The pin is low" );