Skip to content

Commit

Permalink
stable release
Browse files Browse the repository at this point in the history
stable release
  • Loading branch information
Organick authored Jun 18, 2018
1 parent 24d4d92 commit 0eb9fb7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import socket
import struct
import pycom
import binascii
import network
import cayenneLPP
import time
Expand Down Expand Up @@ -57,12 +58,13 @@
c0 =coord[0]
c1 =coord[1]
if (str(coord[0]) != 'None'):
pycom.rgbled(0x7fff00)
lpp.add_gps(c0, c1, 55)
lpp.send(reset_payload = True)
time.sleep(0.3)
#print('Data sent')
else:
pycom.rgbled(0x7fff00)
pycom.rgbled(0xde0000)
#lpp.add_accelerometer(pitch,roll,0)
lpp.add_gps(0, 0, 55)
lpp.send()
Expand Down

0 comments on commit 0eb9fb7

Please sign in to comment.