{"id":198,"date":"2026-01-05T12:30:47","date_gmt":"2026-01-05T12:30:47","guid":{"rendered":"https:\/\/myjetsonnano.hopto.org\/?p=198"},"modified":"2026-01-05T12:33:41","modified_gmt":"2026-01-05T12:33:41","slug":"atoms3u-lamp-test","status":"publish","type":"post","link":"https:\/\/myjetsonnano.perseus314.com\/index.php\/2026\/01\/05\/atoms3u-lamp-test\/","title":{"rendered":"AtomS3U lamp test"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Here&#8217;s a minimal test program in micropython<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>from hardware import RGB\nimport time\n\n# Initialize LED\nrgb = RGB()\nrgb.set_brightness(70)  # visible intensity\n\n# Define the colors to toggle (RGB tuples)\ncolors = &#91;\n    (255, 0, 0),    # Red\n    (0, 255, 0),    # Green\n    (0, 0, 255),    # Blue\n    (255, 255, 0),  # Yellow\n    (0, 255, 255),  # Cyan\n    (255, 0, 255),  # Magenta\n    (255, 255, 255) # White\n]\n\nwhile True:\n    for color in colors:\n        rgb.fill(color)  # set LED color in buffer\n        rgb.write()      # flush buffer \u2192 LED updates\n        time.sleep(1)    # hold color for 1 second\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Here&#8217;s a minimal test program in micropython<\/p>\n","protected":false},"author":1,"featured_media":200,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,12,10],"tags":[],"class_list":["post-198","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-atoms3u","category-micropython","category-uiflow2"],"_links":{"self":[{"href":"https:\/\/myjetsonnano.perseus314.com\/index.php\/wp-json\/wp\/v2\/posts\/198","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myjetsonnano.perseus314.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/myjetsonnano.perseus314.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/myjetsonnano.perseus314.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/myjetsonnano.perseus314.com\/index.php\/wp-json\/wp\/v2\/comments?post=198"}],"version-history":[{"count":1,"href":"https:\/\/myjetsonnano.perseus314.com\/index.php\/wp-json\/wp\/v2\/posts\/198\/revisions"}],"predecessor-version":[{"id":199,"href":"https:\/\/myjetsonnano.perseus314.com\/index.php\/wp-json\/wp\/v2\/posts\/198\/revisions\/199"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/myjetsonnano.perseus314.com\/index.php\/wp-json\/wp\/v2\/media\/200"}],"wp:attachment":[{"href":"https:\/\/myjetsonnano.perseus314.com\/index.php\/wp-json\/wp\/v2\/media?parent=198"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/myjetsonnano.perseus314.com\/index.php\/wp-json\/wp\/v2\/categories?post=198"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/myjetsonnano.perseus314.com\/index.php\/wp-json\/wp\/v2\/tags?post=198"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}