PWM Click code issues over on LibStock

General discussion on Libstock website & codes posted on this website.
Post Reply
Author
Message
korcutt
Posts: 13
Joined: 10 Apr 2007 21:11

PWM Click code issues over on LibStock

#1 Post by korcutt » 25 Jun 2018 05:50

This is a copy of a post I placed over on the LibStock Requests site...

Hey All,
A few years ago, the PWM Click board was introduced, along with the LibStock entry for it... As originally posted, the code was missing a certain function. Could someone from MikroElektronika take a look at and see if the code could be updated. There have been several users asking about it, an no indication as to any progress in getting the code updated. Also it would be great if a pic Basic version could be translated/provided.

I'll also post this over on the forum site as well to see if we can a response to this requests.

Thanks in Advance,

Kevin Orcutt

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

Re: PWM Click code issues over on LibStock

#2 Post by hexreader » 25 Jun 2018 12:27

Compiles without issue for me....
  • 0 1 mikroCPIC1618.exe -MSF -DBG -pP18F45K22 -DL -O11111114 -fo32 -N"C:\PIC\MikroC\PIC18\PIC18F45K22\Click\PWMclick\PWMclick.mcppi" -SP"C:\Users\Public\Documents\Mikroelektronika\mikroC PRO for PIC\Defs\" -SP"C:\Users\Public\Documents\Mikroelektronika\mikroC PRO for PIC\uses\P18\" -SP"C:\PIC\MikroC\PIC18\PIC18F45K22\Click\PWMclick\" -SP"C:\Users\Public\Documents\Mikroelektronika\mikroC PRO for PIC\Packages\Click_PWM\Uses\" -IP"C:\Users\Public\Documents\Mikroelektronika\mikroC PRO for PIC\uses\P18\" -IP"C:\PIC\MikroC\PIC18\PIC18F45K22\Click\PWMclick\" -IP"C:\Users\Public\Documents\Mikroelektronika\mikroC PRO for PIC\Packages\Click_PWM\Uses\" "PWMclick.c" "__Lib_Math.mcl" "__Lib_MathDouble.mcl" "__Lib_System.mcl" "__Lib_Delays.mcl" "__Lib_I2C_c34d01.mcl" "pwm_hal.mcl" "pwm_hw.mcl"
    0 1139 Available RAM: 1515 [bytes], Available ROM: 32768 [bytes]
    0 122 Compilation Started stdbool.h
    48 123 Compiled Successfully PWMclick.c
    0 127 All files Compiled in 31 ms
    0 1144 Used RAM (bytes): 361 (24%) Free RAM (bytes): 1154 (76%) Used RAM (bytes): 361 (24%) Free RAM (bytes): 1154 (76%)
    0 1144 Used ROM (bytes): 3468 (11%) Free ROM (bytes): 29300 (89%) Used ROM (bytes): 3468 (11%) Free ROM (bytes): 29300 (89%)
    0 125 Project Linked Successfully PWMclick.mcppi
    0 128 Linked in 63 ms
    0 129 Project 'PWMclick.mcppi' completed: 110 ms
    0 103 Finished successfully: 25 Jun 2018, 12:20:57 PWMclick.mcppi
Start every day with a smile...... (get it over with) :)

korcutt
Posts: 13
Joined: 10 Apr 2007 21:11

Re: PWM Click code issues over on LibStock

#3 Post by korcutt » 30 Jun 2018 03:42

The particular function that I was referring to is: PCA9685_Set_Frequency(unsigned int Value)... It's been awhile since I looked at it, but if I remember correctly, my compiled also, but was it was missing the function's code. the prototype was there, but no implementation...

Tech support has been generally great in the past, but somehow the ball was dropped on this one, as it's been three years since the original post stating that the function was missing...

I know I would really like to use this, but can't without the function... I'm sure the other posters would like it as well...

Thanks in advance,

Kevin

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

Re: PWM Click code issues over on LibStock

#4 Post by hexreader » 30 Jun 2018 19:00

still struggling to understand what the problem is :(

can you please provide more information and more details, such as...

1) Exactly which MCU are you using

2) Which libstock example you have problems with

3) Where is reference to "PCA9685_Set_Frequency(unsigned int Value)". I could not find any reference.

4) can you provide link to "it's been three years since the original post stating that the function was missing"

My PWM Click seems to work OK, but maybe you are using it differently.
Start every day with a smile...... (get it over with) :)

Post Reply

Return to “Libstock Discussion”