]> www.fi.muni.cz Git - bike-lights.git/commit
patterns: 3 bits for duration, 5 bits for mode
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Tue, 4 Jun 2013 15:46:59 +0000 (17:46 +0200)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Tue, 4 Jun 2013 15:46:59 +0000 (17:46 +0200)
commit4728997cb5f6eff94c8a9d9e253d1675b7516987
tree74746ca834b89ff814adb97853a4aaae7fc45378
parent09d91b6d1d9c5c6dd9971d9f16e31f66b9c5474e
patterns: 3 bits for duration, 5 bits for mode

I plan to use a single mode for encoding all three pwmleds:

2 bits for PWMLED 0
1 bit  for PWMLED 1
2 bits for PWMLED 2
firmware/control.c
firmware/lights.h
firmware/pattern.c