Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to realize the flickering little blue light in TurnipBit

Shulou Source: shulou.com Published: 2022-06-01 03:56:14 10月01日 Update

This article mainly explains "how TurnipBit realizes flashing small blue lights". The explanation content in this article is simple and clear, easy to learn and understand. Please follow the ideas of Xiaobian and go deep into it slowly to study and learn "how TurnipBit realizes flashing small blue lights" together!

Brief Introduction LED

Light emitting diodes are abbreviated as LEDs. Made of compounds containing gallium (Ga), arsenic (As), phosphorus (P), nitrogen (N), etc. When electrons and holes recombine, they radiate visible light, so they can be used to make light emitting diodes. Used as an indicator lamp in circuits and instruments, or as a text or numerical display. Gallium arsenide diodes emit red light, gallium phosphide diodes emit green light, silicon carbide diodes emit yellow light, and gallium nitride diodes emit blue light. Organic light emitting diodes (OLED) and inorganic light emitting diodes (LED) are divided due to their chemical properties.

You can see that the small devices in the picture above are LED lights. These photos of the devices are taken by me on a TurnipBit development board. The small radish in the picture is the logo of the TurnipBit development board.

Brief Introduction TurnipBit Development Board

TurnipBit development board is a MicroPython development board produced by TurnipSmart Company. It is based on nrf51822 chip as main control chip, MKL26Z128VFM4 chip as side load auxiliary chip, onboard 5*5LED lamp, onboard acceleration sensor, onboard magnetic sensor lamp and various peripheral devices. It also supports graphics programming and MicroPython code programming control.

LED lamp control method introduction

Using graphic programming methods to control the state of LEDs, you need to use the commands inside the graphic programming website of TurnipBit. Below we will introduce these commands one by one.

Note: In the interval between each LED lighting and extinguishing, a delay is added to see the LED lighting and extinguishing. If you want to flash faster, reduce the delay. If you want to blink slower, you can make the delay longer.

Thank you for reading, the above is the content of "TurnipBit how to realize the flickering small blue lamp," after the study of this article, I believe everyone has a deeper understanding of how TurnipBit realizes the flickering small blue lamp, the specific use situation still needs to be verified by practice. Here is, Xiaobian will push more articles related to knowledge points for everyone, welcome to pay attention!

Tags: Diodes developers chips blues light emitting diodes programming devices graphics that is learning control sensors content commands methods chemical properties instruments acceleration compounds visible light Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi Shulou Technology Xiaomi OPPO Reno vpn