CircuitPython Lesson: Push Button & LED

Push Button dan LED adalah komponen asas bagi menggunakan digital input dan digital output. Saya mencuba CircuitPython pada board Maker Nano RP2040 yang sudah tersedia satu push button dan 14 LED indicator.

Contoh-contoh lain menggunakan push button adalah

  1. PIC Push Button
  2. Arduino Push Button
  3. Raspberry Pi Push Button
  4. NodeRED Push Button

Contoh-contoh lain menggunakan LED adalah

  1. PIC LED
  2. Arduino LED
  3. Raspberry Pi LED
  4. NodeRED LED

Berikut adalah demo menggunakan push button bagi menukar nyalaan LED.

CircuitPython Source Code

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.