From fa3e1fb46a9ff8c153393bad2ef93b4d1b2d01d0 Mon Sep 17 00:00:00 2001 From: Makoto Shimazu Date: Sat, 4 Aug 2018 01:54:16 +0900 Subject: [PATCH] Change the brightness --- mozc-nazoru/bin/nazoru-input | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mozc-nazoru/bin/nazoru-input b/mozc-nazoru/bin/nazoru-input index 98c70fc..99839f5 100755 --- a/mozc-nazoru/bin/nazoru-input +++ b/mozc-nazoru/bin/nazoru-input @@ -21,7 +21,7 @@ import time LED_RED.blink(1) LED_CHASSIS.on() time.sleep(1) -LED_CHASSIS.set_brightness(5) +LED_CHASSIS.off() import argparse import os @@ -52,7 +52,7 @@ def main(): LED_RED.off() LED_BLUE.blink(1) - LED_CHASSIS.set_brightness(15) + LED_CHASSIS.set_brightness(5) print('Ready. Please input your scrrible.') while True: @@ -69,7 +69,7 @@ def main(): LED_RED.on() result = predictor.predict_top_n(data, 5) LED_RED.off() - LED_CHASSIS.set_brightness(15) + LED_CHASSIS.set_brightness(5) print('\n=== RESULTS ===') for item in result: