Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| projects:commerce_st [2026/06/26 15:49] – John Harrison | projects:commerce_st [2026/06/29 22:04] (current) – John Harrison | ||
|---|---|---|---|
| Line 47: | Line 47: | ||
| i += 1 | i += 1 | ||
| </ | </ | ||
| + | ==== BBB config ==== | ||
| + | * change # of LEDs in strip by editing ''/ | ||
| + | * flash sdcard to emmc | ||
| + | * optional: make sure the sdcard is healthy. When **not** mounted (example): '' | ||
| + | * boot BB from sdcard then: '' | ||
| + | === BBB issues === | ||
| + | * jack is failing overnight. There was a solution built into the whisphering woodlands project I think? | ||
| + | * the solution is to set up a cronjob that runs every 5 minutes and reboots the BB if jack fails: '' | ||
| + | <code bash> | ||
| + | #!/bin/bash | ||
| + | process=" | ||
| + | cpuUsage=$(top -bn2 -p $(pgrep $process) | grep $process | tail -n 1 | awk {' | ||
| + | # echo $cpuUsage | ||
| + | if [ " | ||
| + | echo " | ||
| + | fi | ||
| + | </ | ||