annotate service/busyboxArduino/busybox.py @ 233:4ebb5cc30002

server/browser graph sync. cut dependency on the WS version. merge some changes between arduino/pi code. Ignore-this: cf7d20d54e134e8ff33a9ee405610846
author drewp@bigasterisk.com
date Sat, 30 Jan 2016 06:40:00 -0800
parents 4b0f221d790c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
157
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
1 from __future__ import division
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
2 import serial, struct, json, sys
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
3
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
4 from rdflib import Namespace, Literal
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
5 sys.path.append("/my/site/magma")
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
6 from stategraph import StateGraph
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
7 import klein
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
8 from twisted.internet import task
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
9 import random, time
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
10
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
11 import restkit
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
12 reasoning = restkit.Resource("http://bang:9071/", timeout=1)
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
13 ROOM = Namespace("http://projects.bigasterisk.com/room/")
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
14
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
15 def sendOneShot(stmt):
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
16 try:
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
17 t1 = time.time()
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
18 print "post to reasoning", stmt
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
19 p = reasoning.post("oneShot",
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
20 headers={"content-type": "text/n3"},
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
21 payload=("%s %s %s ." %
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
22 tuple(n.n3() for n in stmt)))
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
23 except restkit.errors.RequestFailed:
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
24 print "oneShot failed"
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
25 return
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
26 print "posted in %.04f sec. %r" % (time.time() - t1,
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
27 p.body_string())
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
28
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
29
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
30 class Busybox(object):
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
31 def __init__(self, port='/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A4001lVK-if00-port0'):
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
32 self.serial = serial.Serial(port, baudrate=115200, timeout=.2)
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
33
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
34 def poll(self):
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
35 for tries in range(5):
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
36 self.serial.write('\x60\x00')
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
37 line = self.serial.readline()
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
38 if not line.startswith('{'):
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
39 continue
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
40 if tries > 0:
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
41 print "after %s tries" % tries
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
42 return json.loads(line)
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
43 return {'error': 'invalid response'}
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
44
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
45 def writeMessage(self, row, col, text):
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
46 msg = struct.pack('BBBBB', 0x60, 0x01, row, col, len(text)) + text
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
47 self.serial.write(msg)
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
48
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
49 def setBacklight(self, level):
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
50 self.serial.write(struct.pack('BBB', 0x60, 0x02, level))
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
51
159
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
52 def sendIr(self, remote, command):
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
53 code = {
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
54 'led_22_key': {
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
55 # LED618 remote command byte (addr is ff)
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
56 # see https://github.com/alistairallan/RgbIrLed/blob/master/RgbIrLed.cpp#L44
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
57 'ON': 0xE0,
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
58 'OFF': 0x60,
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
59 'BRIGHTNESS_UP': 0xA0,
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
60 'BRIGHTNESS_DOWN': 0x20,
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
61 'FLASH': 0xF0,
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
62 'STROBE': 0xE8,
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
63 'FADE': 0xD8,
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
64 'SMOOTH': 0xC8,
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
65 'RED': 0x90, 'GREEN': 0x10, 'BLUE': 0x50, 'WHITE': 0xD0,
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
66 'ORANGE': 0xB0, 'YELLOW_DARK': 0xA8, 'YELLOW_MEDIUM': 0x98, 'YELLOW_LIGHT': 0x88,
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
67 'GREEN_LIGHT': 0x30, 'GREEN_BLUE1': 0x28, 'GREEN_BLUE2': 0x18, 'GREEN_BLUE3': 0x08,
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
68 'BLUE_RED': 0x70, 'PURPLE_DARK': 0x68, 'PURPLE_LIGHT': 0x58, 'PINK': 0x48,
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
69 },
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
70 'led_44_key': {
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
71 # 44 key remote. command chart: http://blog.allgaiershops.com/2012/05/
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
72 'up': 0x3A, 'down': 0xBA, 'play': 0x82, 'power': 0x02,
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
73 'red0': 0x1A, 'grn0': 0x9A, 'blu0': 0xA2, 'wht0': 0x22,
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
74 'red1': 0x2A, 'grn1': 0xAA, 'blu1': 0x92, 'wht1': 0x12,
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
75 'red2': 0x0A, 'grn2': 0x8A, 'blu2': 0xB2, 'wht2': 0x32,
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
76 'red3': 0x38, 'grn3': 0xB8, 'blu3': 0x78, 'wht3': 0xF8,
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
77 'red4': 0x18, 'grn4': 0x98, 'blu4': 0x58, 'wht4': 0xD8,
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
78 'RUp': 0x28, 'GUp': 0xA8, 'BUp': 0x68,
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
79 'RDn': 0x08, 'GDn': 0x88, 'BDn': 0x48,
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
80 'Quick': 0xE8, 'Slow': 0xC8,
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
81 'DIY1': 0x30, 'DIY2': 0xB0, 'DIY3': 0x70, 'DIY4': 0x10, 'DIY5': 0x90, 'DIY6': 0x50,
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
82 'AUTO': 0xF0,
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
83 'Flash': 0xD0,
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
84 'JMP3': 0x20, 'JMP7': 0xA0,
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
85 'Fade': 0x60, 'Fade7': 0xE0,
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
86 }
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
87 }
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
88
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
89 address = {
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
90 'led_22_key': 0x00,
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
91 'led_44_key': 0x00,
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
92 }[remote]
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
93 self.serial.write(struct.pack('BBBB', 0x60, 0x03, address, code[remote][command]))
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
94 time.sleep(.2)
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
95
157
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
96
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
97 bb = Busybox()
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
98 words = open('/usr/share/dict/words').readlines()
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
99
163
4b0f221d790c more color test on ir leds
drewp@bigasterisk.com
parents: 159
diff changeset
100 while 1:
4b0f221d790c more color test on ir leds
drewp@bigasterisk.com
parents: 159
diff changeset
101 bb.sendIr('led_22_key', 'RED')
4b0f221d790c more color test on ir leds
drewp@bigasterisk.com
parents: 159
diff changeset
102 bb.sendIr('led_22_key', 'BRIGHTNESS_DOWN')
4b0f221d790c more color test on ir leds
drewp@bigasterisk.com
parents: 159
diff changeset
103 bb.sendIr('led_22_key', 'BRIGHTNESS_DOWN')
4b0f221d790c more color test on ir leds
drewp@bigasterisk.com
parents: 159
diff changeset
104 bb.sendIr('led_22_key', 'BRIGHTNESS_DOWN')
4b0f221d790c more color test on ir leds
drewp@bigasterisk.com
parents: 159
diff changeset
105 bb.sendIr('led_22_key', 'BLUE')
4b0f221d790c more color test on ir leds
drewp@bigasterisk.com
parents: 159
diff changeset
106 bb.sendIr('led_22_key', 'BRIGHTNESS_DOWN')
4b0f221d790c more color test on ir leds
drewp@bigasterisk.com
parents: 159
diff changeset
107 bb.sendIr('led_22_key', 'BRIGHTNESS_DOWN')
4b0f221d790c more color test on ir leds
drewp@bigasterisk.com
parents: 159
diff changeset
108 bb.sendIr('led_22_key', 'BRIGHTNESS_DOWN')
4b0f221d790c more color test on ir leds
drewp@bigasterisk.com
parents: 159
diff changeset
109
4b0f221d790c more color test on ir leds
drewp@bigasterisk.com
parents: 159
diff changeset
110
4b0f221d790c more color test on ir leds
drewp@bigasterisk.com
parents: 159
diff changeset
111
159
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
112 class Poller(object):
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
113 def __init__(self):
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
114 self.lastWordTime = 0
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
115 self.last = None
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
116 self.s1 = []
157
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
117
159
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
118 def poll(self):
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
119 try:
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
120 self.tryPoll()
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
121 except Exception as e:
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
122 print "poll failed: %r" % e
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
123
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
124 def tryPoll(self):
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
125 now = time.time()
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
126 if now - self.lastWordTime > 1:
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
127 msg = '%15s' % random.choice(words).strip()[:15]
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
128 bb.writeMessage(1, 1, msg)
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
129 self.lastWordTime = now
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
130 self.last = bb.poll()
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
131 print self.last
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
132 if 'slider1' in self.last:
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
133 self.s1 = self.s1[-5:] + [self.last['slider1']]
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
134 if len(self.s1) > 4:
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
135 median = sorted(self.s1)[2]
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
136 bb.setBacklight(min(255, median // 4))
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
137 if 'keyDown' in self.last:
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
138 keyNum = self.last['keyDown']
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
139 sendOneShot((ROOM['ariBed/button%s' % keyNum],
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
140 ROOM['change'],
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
141 ROOM['down']))
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
142 if self.last['motion']:
163
4b0f221d790c more color test on ir leds
drewp@bigasterisk.com
parents: 159
diff changeset
143 bb.sendIr('led_22_key', 'ON')
159
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
144 else:
163
4b0f221d790c more color test on ir leds
drewp@bigasterisk.com
parents: 159
diff changeset
145 bb.sendIr('led_22_key', 'OFF')
157
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
146
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
147
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
148 @klein.route('/graph', methods=['GET'])
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
149 def getGraph(request):
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
150 g = StateGraph(ROOM.busybox)
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
151 g.add((ROOM.busybox, ROOM.localHour, Literal('x')))
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
152 for attr in ['slider1', 'slider2', 'slider3', 'slider4']:
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
153 # needs: smoothing, exp curve correction
159
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
154 g.add((ROOM['busybox/%s' % attr], ROOM.value, Literal(round(poller.last[attr] / 1021, 3))))
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
155 g.add((ROOM['busybox/motion'], ROOM.value, Literal(poller.last['motion'])))
157
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
156 request.setHeader('Content-type', 'application/x-trig')
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
157 return g.asTrig()
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
158
159
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
159 poller = Poller()
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
160 task.LoopingCall(poller.poll).start(.05)
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
161
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
162 # todo: watch reasoning graph. put lines on display. send updated ir codes.
4c62b6d416a7 busybox client can send IR codes
drewp@bigasterisk.com
parents: 157
diff changeset
163
157
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
164 klein.run('0.0.0.0', port=9056)
28c2db876548 busybox py and arduino
drewp@bigasterisk.com
parents:
diff changeset
165