Turn string into array with split Posted on October 18, 2015 at June 27, 2016 by Elijah 2219 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
LED Blinking Posted by Elijah - August 15, 2015 0 You will need the following things: Raspberry pi configured (see previos lessons) 5 Volt LED bulb(s) 2 jumper wires m/f…
Serial Communication with SMS Modem (FONA) Posted by Elijah - October 18, 2015 0 [crayon-68aed32829b4c924701054/] Keep Reading : GPS RESPONSE CODE ORDER Serial Commands used by our Satellite transciever. python to send a SMS…
Add Clock Via i2c Posted by Elijah - October 24, 2015 0 Prepare i2c added real time clock driver to raspian Add time variable to picture display Solder pins to clock module…
Phase One Posted by Elijah - August 15, 2015 2 “Phase One” is where we learned basic raspberry pi use. we started with the unboxing of our model 2 B raspberry…
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 =…