Turn string into array with split
textWithCommas = “bee,apple,pear,dog,carrot,robot”
wordList = textWithCommas.split(“,”)
print “the second item is : ” + textWithCommas
...
Read More
textWithCommas = “bee,apple,pear,dog,carrot,robot”
wordList = textWithCommas.split(“,”)
print “the second item is : ” + textWithCommas
...
Read More
in response to AT+CGPSINF=0
0 longitude
1 latitude
2 altitude
3 UTC Broadcast Time
4 TTFF Time To First Fix
5 num Number of satellites
6 speed Speed Over Ground
8 course Heading Over Ground (degrees of compass where 0 = N)
...
Read More
...
Read More
AT+CGPSPWR?
if off :
AT+CGPSPWR=1
Get status :
AT+CGPSSTATUS?
Get GPS :
AT+CGPSINF
RESET CODES :
What mode ? – AT+CGPSRST?
COLD Reset – AT+CGPSRST=0
WARM Reset – AT+CGPSRST=1
...
Read More
...
Read More
http://www.google.com/maps/place/40.625027,-73.957774/@40.625027,-73.957774,17z
Change RED part to current GPS in Python
http://maps.google.com/maps?q=40.37494164,-73.57485968
...
Read More
...
Read More
We will need the crc16 python code library :
http://code.google.com/p/pycrc16/downloads
...
Read More
Download latest PyUSB from :
http://sourceforge.net/projects/pyusb/files/PyUSB%201.0/1.0.0-beta-2/pyusb-1.0.0b2.tar.gz/download
Place file “pyusb-1.0.0b2.tar.gz” on your desktop
gunzip <pyusb-1.0.0b2.tar.gz |tar xvfp...
Read More
You will need the following things:
Raspberry pi configured (see previos lessons)
5 Volt LED bulb(s)
2 jumper wires m/f
1 wire cutter with wire striper. (often found on long pliers)
First you will need to open terminal.What you need to type...
Read More