Turn string into array with split Posted on October 18, 2015 at June 27, 2016 by Elijah 1812 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
Updated GPS & Battery commands for Sim808 / FONA Shield. Also works for LoNet Sim808 Posted by Elijah - October 23, 2015 0 Enable Charging Function It is recommended to execute this process when first time to use the module. In the Serial…
maserCycle.py – Cycle through lasers on servos and draw lines Posted by Elijah - March 17, 2017 0 This is the third of five articles on my 2017 laser science project "Rock, Paper, Lasers." This one was just…
maserFire.py – Fire lasers with transistors and python on a Raspberry Pi 3 Posted by Elijah - March 17, 2017 0 Part two of five, "Rock, Paper, Lasers" 2017 Science Project. This is the basic laser python code.
Read email from a system pipe into python Posted by Elijah - August 15, 2016 0 #!/usr/local/bin/python import sys import email full_msg = “” for line in sys.stdin full_msg += line msg = email.message_from_string(full_msg) to =…
Chain connect pressure/temperature module i2c on clock module Posted by Elijah - October 25, 2015 0 Turned pressure and temperature into variables Print all variables on photo Change font and location of variable Keep Reading :…