|
cf5238f4f4
|
Add (non-functional) tests for the led_ring module
|
2019-04-06 17:47:58 +02:00 |
|
|
b0dae59274
|
Add methods to inspect LED ring mode and direction
|
2019-04-06 17:43:21 +02:00 |
|
|
3730032ee6
|
Make the led_ring module work with output pins
This ensures that we can test the module by replacing real (board)
output pins by mock ones and test the module.
|
2019-04-06 17:38:03 +02:00 |
|
|
80fabf85e8
|
Move the Led struct and PERIOD const to main module
These definitions are board-specific and do not belong in the more
generic `led_ring` module.
|
2019-04-06 17:36:17 +02:00 |
|
|
7fef19d2fb
|
Rename the set_directions method on LedRing
This hopefully prevens confusion between "compass directions" and
LED ring cycle direction.
|
2019-04-06 12:01:49 +02:00 |
|
|
1fff7f634f
|
Add documentation; tiny code refactoring
|
2019-03-17 14:19:52 +01:00 |
|
|
88793567c2
|
Run cargo fmt
|
2019-03-17 13:36:52 +01:00 |
|
|
7b9ee69d1a
|
Rename the led module to led_ring
|
2019-03-15 23:30:04 +01:00 |
|