TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (404 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (133 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 (141109 times)
  2. FAT32 Library (73899 times)
  3. Network Ethernet Library (58548 times)
  4. USB Device Library (48723 times)
  5. Network WiFi Library (44371 times)
  6. FT800 Library (43971 times)
  7. GSM click (30717 times)
  8. mikroSDK (29473 times)
  9. PID Library (27299 times)
  10. microSD click (27092 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: 124 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

New Users to V-TFT Project for User Code Tutorial and example Event Counter

10

A project example with tutorial manual and extensive code comments showing how V-TFT project programs layout works. Get users safely placing code where it will work. How to multitask. Custom Digit display gadget. How to add 2 click safety to buttons. PLUS MORE. mBASIC code. PIC32/33EP MMB sources/HEX. PDF manual V3.0

[Learn More]

MMB TFT backlight dimmer

1

Code to dim the backlight from the TFT display on the Mikromedia Board. Made for the PIC18FJ board, HW Rev. 1.05 but is easy to adopt. PWM is made with Timer2, the PWM module is not used, although connected to this port. Brightness can be adjusted from 10% to 100% in 10% steps.

[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]