Weqaar A. Janjua's Blog
Thursday, February 12, 2015
Tuesday, September 23, 2014
Factions and Splinters
"The world is full of factions, and whenever we get close to a unifying harmonic convergence, humans split into competing groups. Humans find some way to splinter." -- Puppet vs Chef Blog
Sunday, September 8, 2013
OpenC2I python stack, use it abuse it whatever!
https://github.com/weqaar/openc2i
Python UDP GPIO Controller
https://github.com/weqaar/gpio
Converting a Dictionary formatted String to Python Dictionary object
From my github repo: https://github.com/weqaar/gpio
Say you have this in a text file, a String in Dictionary format.
You just can't read it as a Dict object, this will need String to Dict conversion.
SERVER_LIST={mysql:145,queue:144}
Say you have this in a text file, a String in Dictionary format.
You just can't read it as a Dict object, this will need String to Dict conversion.
SERVER_LIST={mysql:145,queue:144}
#Convert String to Dictionarygpio_dict = {}strdict = conf_params.SERVER_DICT.strip("{").strip("}")for item in strdict.split(','):key,value = item.split(':')if gpio_dict.get( key ):gpio_dict[ key ] += int( value )else:gpio_dict[ key ] = int( value )
Wednesday, December 12, 2012
TI-RTOS
TI-RTOS: A Real-Time Operating System for TI Devices (ARM MCU Cores)
Its Free of Charge! Implements BSD Sockets and a full Ethernet stack.
Here is the PDF: http://www.ti.com/lit/ml/sprt646/sprt646.pdf
Official site: http://www.ti.com/lsds/ti/tools-software/rtos.page
SDK: http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/mcusdk/1_00_01_74/index_FDS.html
Subscribe to:
Posts (Atom)