Skip to content

Commit

Permalink
Update BF-018A.ino
Browse files Browse the repository at this point in the history
change LED-B/G color level
  • Loading branch information
uehara00 authored Oct 24, 2020
1 parent c848080 commit 1e8613e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BF-018A/BF-018A.ino
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ void ReportStatus(ReportItem report_item, ItemStatus item_status)
case kNtp:
switch (item_status) {
case kOn: led_color.r = 0; break; // green
case kOff: led_color.r = 0x40; break; // green
case kOff: led_color.r = 0x80; break; // green
default: break;
}
break;
case kTco:
switch (item_status) {
case kOn: if (led_enable) led_color.b = 0xff; break;
case kOn: if (led_enable) led_color.b = 0x80; break;
case kOff: led_color.b = 0; break;
default: break;
}
Expand Down

0 comments on commit 1e8613e

Please sign in to comment.