Download Print this page

GSE GSatMicro Operation Manual page 8

Advertisement

Iridium
functions¶
// Power Iridium Modem
iridium.setpower( {mode} )
mode:
1: on
0: off
NOTE: Must be called with mode 1 to enable signal for GPS functionality
// Enable Iridium Radio
iridium.setradio( {mode} )
mode:
1: on
0: off
iridium.transmit( {string} )
string: arbitrary string to transmit over SBD
Example:
iridium.transmit(gps.encode(lat,lon,speed,course,batp,min,alt))
GPIO
functions¶
{ variable } = gpio.wakereason()
values:
gpio.UNKNOWN: no matching wake reason
gpio.POWERUP: unit was just powered on
gpio.RESETPIN: unit was reset using the reset button
gpio.WAKEPIN: unit was woken using the wake pin
gpio.RTC: unit was woken by RTC
gpio.POWERCONNECTED: unit was woken when power was connected
Compass
functions¶
// Compass heading in degrees
{ variable } = compass.getheading()
// Monitor compass and accelerometer values
{ variable } = compass.setmonitor( {mode} )
mode:
1: on
0: off
GSat.us • sales@gsat.us • 954-459-4000
sa les@gsa t.us : gsa t .us

Advertisement

loading
Need help?

Need help?

Do you have a question about the GSatMicro and is the answer not in the manual?