16 bit PWM Routines

General discussion on mikroBasic PRO for AVR.
Post Reply
Author
Message
Galera
Posts: 3
Joined: 08 Jul 2018 17:16

16 bit PWM Routines

#1 Post by Galera » 17 Jul 2018 17:18

The library sample does not work with atmega32. There is an error at compilation time.
The function Pwm16bit_set_duty does not work.
Can some one help me out?

hexreader
Posts: 1785
Joined: 27 Jun 2010 12:07
Location: England

Re: 16 bit PWM Routines

#2 Post by hexreader » 17 Jul 2018 17:30

For some strange reason, the function name is PWM16bit_Change_Duty.

I don't know why. There seems to be no help text for PWM16bit_Change_Duty, but there is for PWM16bit_Set_Duty

Hopefully someone from ME will comment?
Start every day with a smile...... (get it over with) :)

User avatar
filip.grujcic
Posts: 822
Joined: 14 May 2018 08:34

Re: 16 bit PWM Routines

#3 Post by filip.grujcic » 19 Jul 2018 15:02

Hi,

The help file was updated but the library hasn't been updated yet, most likely in the next compiler update.
You can find the appropriate help file on the following link:
http://download.mikroe.com/documents/co ... ibrary.htm

Kind regards,
Filip Grujcic

Post Reply

Return to “mikroBasic PRO for AVR General”