TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (385 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 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 (139842 times)
  2. FAT32 Library (72209 times)
  3. Network Ethernet Library (57392 times)
  4. USB Device Library (47739 times)
  5. Network WiFi Library (43364 times)
  6. FT800 Library (42700 times)
  7. GSM click (29980 times)
  8. mikroSDK (28439 times)
  9. PID Library (26989 times)
  10. microSD click (26398 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: 101 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

TFT Proto 7in - Example

5

TFT Proto 7in carries a 800x480 HT050AWV40T TFT screen covered with a 4-wire resistive touchscreen panel. To drive the 262k-color display, there's an SSD1963 graphic controller with a 8/9/16/24-bit MCU interface. The touchpanel is driven by an advanced STMPE811 controller. TFT Proto 7in uses a 3.3V power supply only.

[Learn More]

TFT proto with MSP432P401r

0

It's a simple example code of interfacing TFT proto board with MSP432P401r MCU. It is a part of my project on ELEMENT 14 forum. Example code displays jpeg image and texts on TFT [320x240].

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