TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (398 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (127 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 (140722 times)
  2. FAT32 Library (73209 times)
  3. Network Ethernet Library (58144 times)
  4. USB Device Library (48293 times)
  5. Network WiFi Library (43929 times)
  6. FT800 Library (43432 times)
  7. GSM click (30419 times)
  8. mikroSDK (29123 times)
  9. PID Library (27132 times)
  10. microSD click (26779 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: 115 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

Usage of ILI9341 SPI with TFT library

1

This is an example on how to connect the cheap module with TFT ILI9341 in SPI mode and SDCard socket created for Arduino. It shows how to modify the TFT routines in TFT_Lib_Defs and what to write in your code to make the whole TFT library work with this module and thus make mikroelektronika compilers support this module, as many customers asked.

[Learn More]

PACK_Image

0

ICON_Image BMP_Image JPG_Image for ARM

[Learn More]

ConnectEVE - Example

0

This is a sample program which demonstrates the use of EVE click board. EVE click can be used to drive TFT with on board FT800 chip.

[Learn More]