Arduino Yun cheat sheet: Difference between revisions

Line 329: Line 329:
</syntaxhighlight>
</syntaxhighlight>


=== OpenWrt の init script 完了を待つ処理 ===
USB LED (明るい白色)が点灯する時点で OpenWrt が起動済み(rc.local実行時)ということを利用して、
USB LED (明るい白色)が点灯する時点で OpenWrt が起動済み(rc.local実行時)ということを利用して、
:/etc/rc.local の boot-complete-notify 実行直前は brightness は 0 である。boot-complete-notify 実行後に 255 である。
:/etc/rc.local の boot-complete-notify 実行直前は brightness は 0 である。boot-complete-notify 実行後に 255 である。