TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (392 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (123 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (140516 times)
  2. FAT32 Library (73012 times)
  3. Network Ethernet Library (57996 times)
  4. USB Device Library (48206 times)
  5. Network WiFi Library (43810 times)
  6. FT800 Library (43261 times)
  7. GSM click (30317 times)
  8. mikroSDK (28964 times)
  9. PID Library (27101 times)
  10. microSD click (26701 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Example

[mikromedia 3 PIC32MZ Cap] Slide Switch

Rating:

0

Author: Frank Malik

Last Updated: 2022-10-04

Package Version: 1.0.0.0

Category: TFT

Downloaded: 114 times

Not followed.

License: MIT license  

Simulating a slide switch, known from your smartphone, with components
of the Designer library. In this example the attributes of a RoundedBox
will be changed, based on the settings of the slide switches.
Optimized for the mikromedia 3 for PIC32MZ, but also tested on a
Fusion for STM32 v8 with a 4.3" display.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "[mikromedia 3 PIC32MZ Cap] Slide Switch" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "[mikromedia 3 PIC32MZ Cap] Slide Switch" changes.

Do you want to report abuse regarding "[mikromedia 3 PIC32MZ Cap] Slide Switch".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC AI for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Example Blog

Screenshot

Screenshot

The screenshot of the component layout in the Designer window.

View full image

The slide switch component is build from a RoundedButton and a Circle component. The Circle is on a layer above the RoundedButton. Also, the click event is on the Circle, and not on the RoundedButton.

The slide switches sets the border, the gradient and the text color of the component on the right side. Unfortunately the transparent property doesn't work as expected at the moment.

Software versions used:
Necto Studio 2.1.0, mikroSDK 2.6.0

Additional libraries required:
none

 

RELATED CODES

Interfacing PIC18F46K22 MCU with ST7735 SPI TFT display

0

This example shows how to interface PIC18F46K22 microcontroller with ST7735 TFT (color display). It shows how to print texts and draw shapes (lines, circles ...). The code was tested with mikroC PRO for PIC version 7.6.0.

[Learn More]

DynTFT

10

DynTFT is a set of visual components, inspired by Delphi's VCL. These components are compilable by mikroPascal, Delphi and FreePascal, allowing faster designing and debugging of the UI part of an application. The API features a runtime component registration, to make sure that users won't have to deal with internal handling of mouse/touch events.

[Learn More]

PACK_Image

0

ICON_Image BMP_Image JPG_Image for ARM

[Learn More]