First thing in the Morning

I made this control the signal light on my circuit board.
It's a little bland but it gets the job done.
The first thing I did when I got up was rig
a GUI up to the Python 2B Interface The only real problem was that the program froze
on quit and I have to go and kill the process. But it would also
freeze my mouse intermittently so that proved difficult.
Eh, still it was well worth the 30 minutes. And this mild success
helped encourage me to keep moving forward.
""" Chris B Stones Gui for Controller Ardunio Interface later all the buttons might be in schematic form for your enjoyment May 28, 2008 """ import controllers from controllers import * # pwmTest, analogPort, digitalPort import ser from ser import * import Tkinter from Tkinter import * class Exponent(): def __init__(self): self.w = Tk() self.w.title("Ardunio Control") self.w.geometry("400x200") #init buttons self.f = Frame(self.w) self.f.grid() #Light DOUT3 button self.btn_base = Button(self.f) self.btn_base['text'] = 'DOUT3 ON' self.btn_base['command'] = self.light self.btn_base.grid(row=0,column=0) #Light DOUT3 button self.btn_base = Button(self.f) self.btn_base['text'] = 'DOUT3 OFF' self.btn_base['command'] = self.offlight self.btn_base.grid(row=0,column=1) # Serial Connection self.s = ser() self.d = digitalPort(self.s,DIN0,DOUT3) self.w.mainloop() def light(self): print "Light On" # # I just wanted to turn a pin on and off self.d.onData(1) def offlight(self): print "Light Off" # # I just wanted to turn a pin on and off self.d.onData(0) def main_program(): myWindow = Exponent() main_program()
I can sit and reflect upon the whole day and
decide what to monitor. Or I can sit and recall only
the post potent items.
I could even try to post the brief notes from yesterday
up. But the real concern was I never got to what I wanted
to do
- signed up for Alumni Membership which should
keep my e mail alive
- Obtained book on General Relativity
- Fixed my scanner
- got swept up in Hidden Creek Matters yet again.
oops
- Interface GUI Created
Currently, work is going to be about solving a final bug
to make way for a 30% optimization for a client. 30% is a nice
figure. Seems significant enough to warrant the effort.
I fled this place once again after hearing noise
from above.
I started contemplating how to nullify sound using
a speaker attuned to an inverse signal to the incoming
sound waves. ... More investigation is warranted.
Actually, there's a running list of items for that.
You'd be surprised at how motivating noisy annoyances
can be.
I have a riddle for you.
What can you put in a header...
that makes the page load faster?
And that is currently my job.
.. you know if I was fully nocturnal I would have
no problem with the upstairs neighbor.