Turn string into array with split Posted on October 18, 2015 at June 27, 2016 by Elijah 2264 0 textWithCommas = “bee,apple,pear,dog,carrot,robot” wordList = textWithCommas.split(“,”) print “the second item is : ” + textWithCommas[1] Keep Reading : Identify USB device and discover its name and port Serial Commands used by our Satellite transciever. while loop GPS RESPONSE CODE ORDER
Serial Communication with SMS Modem (FONA) Posted by Elijah - October 18, 2015 0 [crayon-68ccded17bb84857404103/] Keep Reading : GPS RESPONSE CODE ORDER Serial Commands used by our Satellite transciever. python to send a SMS…
Make Them Blink Posted by Elijah - November 15, 2015 0 You will need: 4 complete sets of LED’s and wires (see last lesson) The first thing you will need to…
Identify USB device and discover its name and port Posted by Elijah - October 17, 2015 0 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 - cd pyusb-1.0.0b2 sudo ./setup.py…
Wire camera to pi Posted by Elijah - October 24, 2015 0 Install camera software & configure pi One picture program One picture per blink cycle Print proto time on picture …
Hello World Posted by Elijah - August 15, 2015 0 We use python to write all of our scripts. On our raspberry pi every python script starts with a shebang…