Dave Jones
7429c03117
Docs clean up part 1
...
Big push on getting the docs cleaned up before 1.0. Proper wrapping of
everything so it's decently viewable from the command line (or as
decently viewable as markdown can be - the tables will never look great
from the command line).
Only one code change in this PR: rename bouncetime to bounce_time
(everything else is PEP-8, so this probably should be too) and change
its units to seconds from milliseconds (again, all other durations in
the library are in seconds, so it feels inconsistent that this one
isn't; for the sake of those who won't read the docs - which is most
people - I figure consistency helps with guessing!).
2015-10-03 16:24:12 +01:00
Ben Nuttall
3a4d3d4deb
Add documentation for Motor, Robot and RyanteckRobot
2015-10-02 18:08:59 +01:00
Ben Nuttall
dc34cf3ccf
Implement Motor, Robot and RyanteckRobot
2015-10-02 15:27:55 +01:00
Ben Nuttall
3f960f6da3
Update docstrings and add initial set of documentation
2015-09-28 11:11:00 +01:00
Ben Nuttall
cfed671972
Add docstrings, close #26
2015-09-24 11:39:50 +01:00
Ben Nuttall
d47aff9f69
Make TrafficLights extend LEDBoard
2015-09-23 17:30:17 +01:00
Ben Nuttall
12800db25f
Refactor PiLiter into generic LEDBoard class
2015-09-23 16:32:00 +01:00
Ben Nuttall
b97e97909c
Add flash method to output devices and boards, close #22
2015-09-23 15:31:06 +01:00
Ben Nuttall
931571b85d
Add toggle to boards
2015-09-23 14:44:41 +01:00
Ben Nuttall
e805eedd13
Add properties for leds and all on boards
2015-09-23 11:42:06 +01:00
Ben Nuttall
bb33b9aff3
Fix PiTraffic and TrafficHat
2015-09-23 11:16:42 +01:00
Ben Nuttall
b16127dd39
Add PiTraffic back in (was accidentally deleted in e474215)
2015-09-22 17:18:38 +01:00
Dave Jones
3df061b1bd
Minor cleanup in boards
...
super calls weren't specified correctly, and there's no need to convert
to lists for adding tuples - tuples add to tuples just fine, just not
lists.
2015-09-22 15:05:11 +01:00
Ben Nuttall
e4742150c4
Add Ryanteck TrafficHat based on FishDish (untested)
2015-09-21 18:40:06 +01:00
Ben Nuttall
840953fd81
Refactor and add blink method to all boards
2015-09-21 18:22:49 +01:00
Ben Nuttall
2172ed78db
Add missing Buzzer import
2015-09-21 17:44:45 +01:00
Ben Nuttall
4403348917
Use super over re-implentation for PiTraffic
2015-09-21 17:30:11 +01:00
Ben Nuttall
8223e56162
Make FishDish Button pull down
2015-09-21 17:18:20 +01:00
Ben Nuttall
d5f3e849a4
Prefix lights and all properties and convert lists to tuples
2015-09-21 17:14:33 +01:00
Ben Nuttall
6d29aaa590
Implement common add-on boards, re: #17
2015-09-21 15:28:01 +01:00