iUnstable0

iUnstable0

0-day streak
https://imgutil.s3.us-east-2.amazonaws.com/a7111bfc0b0bcc8d77aa1b399ebc289fa9d34404b3bb0b4e7b22ca784ec6096f/ccb3f1cb-3fae-4ecf-aaa9-1e3dff094611.png
Day 3: Held a club meeting today and continued the PCB workshop! we also had 3 new members join our club also mee and @EvanGan are ordering PCB for our trail project!
https://scrapbook-into-the-redwoods.s3.amazonaws.com/d79a7da0-14cd-4b76-bded-e18bde3bd60a-screen_shot_2024-06-18_at_1.47.24_pm.png
spring-of-making emoji
pcb emoji
hackclub emoji
Day 2 Tried out this new IDE (cursor.com) and I really like it. I might switch over from VSCode. Added a visible property to my display framework for my trial project to set a component’s visibility. My new soldering lead just arrived today, so I finished soldering the rest of the components for my musical Tesla coil project! I still need to 3D print the body and buy some magnet wires though.
https://scrapbook-into-the-redwoods.s3.amazonaws.com/20b30763-ef15-45bb-964f-1f100d5c32e8-cleanshot_2024-06-17_at_23.20.40_2x.pnghttps://scrapbook-into-the-redwoods.s3.amazonaws.com/f66e9537-0cdf-470e-8af8-5ef67bab5658-img_8131.pnghttps://imgutil.s3.us-east-2.amazonaws.com/30cba70a825ebf55ff3e34e7d0de92b34e925885215ad0f49e711f8df1ad428c/d619790b-b07b-47b4-b3e0-60b96ae154f4.png
Day 1: Spent my whole day working on a display framework for my trail project! I’m developing a new display framework for the SSD1306 in MicroPython that aims to simplify building advanced interactive user interfaces. • Implemented the ability to nest child components within parent components for proper relative positioning. • Updated rendering logic so child components are positioned based on their parent’s size and position. Using it is very simple. Just create a new component and update the properties!
async def main():
    _display = Display()
    _vcanvas = vcanvas.vCanvas(128, 64, lambda data: _display.render(data))

    render_task = uasyncio.create_task(_vcanvas.render())

    frame = vcanvas.Frame(_vcanvas, width=64, height=32, background_color=1,
                          ax=0.5, ay=0.5, position_type="scale", x=0.5, y=0.5)

    label = vcanvas.TextLabel(frame, text="Welcome!", text_size=1,
                              ax=0.5, ay=0.5, position_type="scale", x=0.5, y=0.5)
    amogus = 1

    try:
        while True:
            await uasyncio.sleep(1)

            print("Looping", utime.ticks_ms())
            Pin("LED", Pin.OUT).toggle()

            if amogus == 0:
                frame.x = 0.25
                frame.y = 0.25
                label.text = "Welcome!"
                amogus = 1
            elif amogus == 1:
                frame.x = 0.75
                frame.y = 0.75
                label.text = "Welcome"
                amogus = 0
    finally:
        render_task.cancel()

        try:
            await render_task
        except uasyncio.CancelledError:
            print("Cancelled render task")

uasyncio.run(main())
Just finished setting up my new home network! Took me a while to get pppoe to connect
https://scrapbook-into-the-redwoods.s3.amazonaws.com/d062018e-663a-4347-8b54-1a5b1e2f4155-IMG_8344.png