100%
ch552 CH552 view
Description

Imported from GitHub: nicola-strappazzon/CH552 · commit 94bb126 · license LGPL-2.1

Description

Basic projects with CH552G

README

Button & LED RGB

This is a program that allows interaction with a button and an RGB LED, changing its color each time the button is pressed. For example, when the MCU is powered on, the LED is off. If the button is pressed for the first time, it turns red; on the second press, it turns green; on the third press, it turns blue; and on the fourth press, the cycle ends by turning off the LED, allowing the process to start over.

The schematic diagram shown above is a simple representation meant to show the connection of a button and an RGB LED to the MCU. The circuit necessary for the MCU to function is intentionally omitted.

Comments
Sign in to comment

No comments yet. Be the first to ask about this board.