Use your forum account to login.


TOP Contributors

  1. MikroElektronika Team (452 codes)
  2. Shawon Shahryiar (246 codes)
  3. Alcides Ramos (97 codes)
  4. Dany (66 codes)
  5. O B (61 codes)
  6. MikroBUS.NET Team (35 codes)
  7. NART SCHINACKOW (34 codes)
  8. Alberto Trasimeni (25 codes)
  9. Roman Toropov (25 codes)
  10. Arezki YOUYOU (24 codes)

Most Downloaded

  1. Timer Calculator (78341 times)
  2. Network Ethernet Library (38043 times)
  3. FAT32 Library (37062 times)
  4. USB Device Library (28701 times)
  5. Network WiFi Library (27410 times)
  6. FT800 Library (20161 times)
  7. PID Library (19026 times)
  8. GSM click - Example (18596 times)
  9. microSD click - Example (15965 times)
  10. GPS click - Example (12784 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



Author: Martin Palomino

Last Updated: 2017-08-09

Category: Motor Control

Downloaded: 325 times

Not followed.

This code is a example to how to use the adc values to control a pwm output and shows the values in a lcd2x16

1) this code was made for pic16f887
2) if you want to control a motor with pwm then I suggest you that you use a mosfet or an IGBT

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "ADC_to_PWM " changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "ADC_to_PWM " changes.

Do you want to report abuse regarding "ADC_to_PWM ".

  • Information
  • Comments (0)

Download Example [82.40KB]


mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Example Blog

Blog currently doesn't exist!



This code is a simple example to how we can use pwm module and show it in a display lcd 2x16. This code was made for pic16f887 .

[Learn More]


Hi guys This code is a simple temperature controller and it's only for celsius degrees that shows the temperature values in 7-segment displays. this code was made for pic16f887.

[Learn More]

examples for MikroC_AVR

these are some examples made with MikroC for AVR this proyect includes 1) pwm controller 2) Temperature controller with DS18B20 3) Temperature controller with Lm35 4) UART 5) Voltmeter

[Learn More]