TOP Contributors

  1. MIKROE (2656 codes)
  2. Alcides Ramos (353 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 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 (136818 times)
  2. FAT32 Library (69983 times)
  3. Network Ethernet Library (55955 times)
  4. USB Device Library (46276 times)
  5. Network WiFi Library (41893 times)
  6. FT800 Library (41203 times)
  7. GSM click (28993 times)
  8. PID Library (26420 times)
  9. mikroSDK (26377 times)
  10. microSD click (25383 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: 71 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]

Graphics Test Example for ILI9341 TFT Display

0

An example shows how to interface PIC18F46K22 8-bit microcontroller with ILI9341 TFT 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]

My Button-as-a-Label method Examples Demo

5

Demo V-TFT project for PIC32 MMB that shows code examples about using V-TFT Button objects instead of Label objects to display changing alpha-numeric data on a TFT display. Projects code files contain detailed comments for every code example and program operation so everyone (beginners +), can follow and understand what is being done and why.

[Learn More]