{"id":237,"date":"2011-10-26T19:26:19","date_gmt":"2011-10-26T23:26:19","guid":{"rendered":"http:\/\/fll-freak.com\/blog\/?p=237"},"modified":"2025-04-21T00:54:36","modified_gmt":"2025-04-21T04:54:36","slug":"working-from-home","status":"publish","type":"post","link":"http:\/\/fll-freak.com\/blog\/?p=237","title":{"rendered":"Working from home"},"content":{"rendered":"<p>At work I have been helping on a failure review board. Once every 10,000 boot cycles, sometimes the system gets stuck displaying the splash screen. They asked me to figure out a way to automate the booting and then to halt should the splash screen get stuck on. Python and Sparkfun parts to the rescue!<!--more-->I went home, pulled out a Sparkfun ambient light sensor break out board, a spare Arduino (ordered another to take its place), and a project box and quickly wired it all together. Then it was a matter of writing a simple sketch to query the ADC value and report it over the serial port. Had that done and working in about an hour and a half. Then I went back to work and wrote the Python to grab the sensor reading. With all that, it was easy to integrate it into my test suite and halt the reboot cycle if the splash screen stays bright past a given time.<\/p>\n<p>I let it rip, and sometime in the next three days it should fail and send the team an email. I love automating tests!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>At work I have been helping on a failure review board. Once every 10,000 boot cycles, sometimes the system gets stuck displaying the splash screen. They asked me to figure out a way to automate the booting and then to &hellip; <a href=\"http:\/\/fll-freak.com\/blog\/?p=237\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15,12],"tags":[],"class_list":["post-237","post","type-post","status-publish","format-standard","hentry","category-python","category-software"],"_links":{"self":[{"href":"http:\/\/fll-freak.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/237","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/fll-freak.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/fll-freak.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/fll-freak.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/fll-freak.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=237"}],"version-history":[{"count":5,"href":"http:\/\/fll-freak.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/237\/revisions"}],"predecessor-version":[{"id":1058,"href":"http:\/\/fll-freak.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/237\/revisions\/1058"}],"wp:attachment":[{"href":"http:\/\/fll-freak.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/fll-freak.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=237"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/fll-freak.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}