ViSi: GPIO Bus Control Using DIP Switch Objects PICASO
Details
Number | 4D-AN-00067 |
Difficulty | Hard |
Supported Processors | PICASO |
Supported Environments | ViSi |
Description
Many of the widgets can be used as a virtual input or output device - to send or receive signals to and from external devices through the thirteen available GPIO pins of the PICASO processor. This application note specifically uses the DIP switch to control eight LEDs on a breadboard through the 8-bit GPIO bus. A simple program for controlling the brightness of an LED is also included. In more advanced applications, the LEDs can be replaced with a microcontroller.
Prerequisites
- General: Migrating from PICASO-SGC-GFX to PICASO
- General: How to Update the PmmC for PICASO
- General: Downloading an Application Program to RAM or Flash Memory
- General: Partitioning a micro-SD into FAT and RAW Components
- General: 4DGL Colour Constants
- ViSi: Getting Started with PICASO and DIABLO-16
- Designer or ViSi: How to Draw Pixels and Lines
- Designer or ViSi: How to Draw Circles and Rectangles
- Designer or ViSi: How to Draw Triangles and Polygons
- Designer or ViSi: Touch Detection
- ViSi: Displaying Images from the uSD Card - WYSIWYG FAT16
- ViSi: Images and User Images
- ViSi: Input Objects
- ViSi: The LED Digits Object