aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster
diff options
context:
space:
mode:
authorSelene ToyKeeper2017-08-19 17:30:00 -0600
committerSelene ToyKeeper2017-08-19 17:30:00 -0600
commit5ebd512ef3d91cd26e147e1dd7a44f6f227498dd (patch)
tree2a67c475c89668d4772fef09d2a4bb5f0c482dcf /spaghetti-monster
parentCompletely reorganized SpaghettiMonster code into smaller logical pieces: fsm... (diff)
downloadanduril-5ebd512ef3d91cd26e147e1dd7a44f6f227498dd.tar.gz
anduril-5ebd512ef3d91cd26e147e1dd7a44f6f227498dd.tar.bz2
anduril-5ebd512ef3d91cd26e147e1dd7a44f6f227498dd.zip
Baton: Strobe should be full-power.
Diffstat (limited to 'spaghetti-monster')
-rw-r--r--spaghetti-monster/baton.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/spaghetti-monster/baton.c b/spaghetti-monster/baton.c
index 02b7c00..67ca3b9 100644
--- a/spaghetti-monster/baton.c
+++ b/spaghetti-monster/baton.c
@@ -135,11 +135,11 @@ uint8_t party_strobe_state(EventPtr event, uint16_t arg) {
// tick: strobe the emitter
else if (event == EV_tick) {
if (frames == 0) {
- PWM1_LVL = 255;
- PWM2_LVL = 0;
+ PWM1_LVL = 0;
+ PWM2_LVL = 255;
if (between < 3) delay_zero();
else delay_ms(1);
- PWM1_LVL = 0;
+ PWM2_LVL = 0;
}
//frames = (frames + 1) % between;
frames++;
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.