In this third article on the TechLab, we will get into the RGB LED and the light sensor. To show what we will look at, Figure 1 shows the board, and each sensor or mechanism has a label. { "lightbox_close": "Close", "lightbox_next": "Next", "lightbox_previous": "Previous", "lightbox_error": "The requested content cannot be loaded. Please try again later.", "lightbox_start_slideshow": "Start slideshow", "lightbox_stop_slideshow": "Stop slideshow", "lightbox_full_screen": "Full screen", "lightbox_thumbnails": "Thumbnails", "lightbox_download": "Download", "lightbox_share": "Share", "lightbox_zoom": "Zoom", "lightbox_new_window": "New window", "lightbox_toggle_sidebar": "Toggle sidebar" } FIGURE 1 RGB LED This is not a single color LED as we saw in Part 2. This LED can change colors. The example code for the RGB LED, as discussed in Part 1, and found at ‘vsx-examples/PocketBeagle-2/rgb_led/’. There are four examples here, each in their own... https://www.linux.org/threads/pocketbeagle-2-techlab-part-3.66952/
Source: https://www.linux.org/threads/pocketbeagle-2-techlab-part-3.66952/
Author: [email protected] (Jarret B)
All rewards will be burned.