A C E F G I O P R S T

A

a2d(int) - Method in class com.al_williams.gp3.GP3
Reads one of 5 analog input channels

C

closePort() - Method in class com.al_williams.gp3.GP3
Close the GP3 port
count(int, int) - Method in class com.al_williams.gp3.GP3
Counts the number of pulses observed on pin This method samples the pin every 4uS
counter() - Method in class com.al_williams.gp3.GP3
Read the hardware counter/timer

E

eeRead(int) - Method in class com.al_williams.gp3.GP3
Read a byte from EEPROM.
eeWrite(int, int) - Method in class com.al_williams.gp3.GP3
Write a byte to EEPROM.

F

freq(int, int, int) - Method in class com.al_williams.gp3.GP3
Generates frequency on pin

G

getErr() - Method in class com.al_williams.gp3.GP3
Reads the error flag
getPins() - Method in class com.al_williams.gp3.GP3
Read the 8 I/O pin values.
getTRIS() - Method in class com.al_williams.gp3.GP3
Read the direction register (TRIS).
GP3 - class com.al_williams.gp3.GP3.
This class allows you to easily use the GP3 PC interface from AWC.
GP3() - Constructor for class com.al_williams.gp3.GP3
 

I

inp(int) - Method in class com.al_williams.gp3.GP3
Read a single input pin.

O

ok() - Method in class com.al_williams.gp3.GP3
Returns true if GP3 is responding
openPort(String) - Method in class com.al_williams.gp3.GP3
Open a COM port to the GP3.

P

pulseIn(int, int) - Method in class com.al_williams.gp3.GP3
Read a pulse input.
pulseOut(int, int) - Method in class com.al_williams.gp3.GP3
Generates a pulse by inverting the pin for the specified period.
pwm(int, int) - Method in class com.al_williams.gp3.GP3
Generates hardware PWM
pwm(int, int, int) - Method in class com.al_williams.gp3.GP3
Generates software PWM on the pin number

R

rcTime(int, int) - Method in class com.al_williams.gp3.GP3
Read an RC time charge/discharge
readByte() - Method in class com.al_williams.gp3.GP3
Read a byte from the GP3 This is useful when using repeat()
readWord() - Method in class com.al_williams.gp3.GP3
Reads a word from the GP3.
ready() - Method in class com.al_williams.gp3.GP3
Checks to see if GP3 is ready to accept commands
repeat(int) - Method in class com.al_williams.gp3.GP3
Repeat the next command Next command must be a2d, inp, rctime, pulsein, getPins, or getTRIS
reset() - Method in class com.al_williams.gp3.GP3
Force full reset of GP3

S

setCounter(int, int) - Method in class com.al_williams.gp3.GP3
Configure the hardware counter/timer
setErr() - Method in class com.al_williams.gp3.GP3
Resets the error flag.
setErr(boolean) - Method in class com.al_williams.gp3.GP3
Set the error flag.
setHigh(int) - Method in class com.al_williams.gp3.GP3
Sets a pin to the high state.
setLED(boolean) - Method in class com.al_williams.gp3.GP3
Sets the onboard LED.
setLED(int) - Method in class com.al_williams.gp3.GP3
Sets the onboard LED.
setLow(int) - Method in class com.al_williams.gp3.GP3
Sets a pin to the low state.
setPins(int) - Method in class com.al_williams.gp3.GP3
Sets the 8 I/O pin values.
setTRIS(int) - Method in class com.al_williams.gp3.GP3
Set the direction register (TRIS).

T

toggle(int) - Method in class com.al_williams.gp3.GP3
Changes the state of a pin.

A C E F G I O P R S T