Hi,
by using Package Manager, I've extracted the servo click mikropAscal PRO for AVR ( lisenced and activated).
https://libstock.mikroe.com/projects/vi ... ervo-click
Things look fine, you can see on t the left of the screen that "Servo_AVR_LT" has been add to Libary manager.
I hope the picture show all clear.
What am i doing wrong?
Kind regards. Marcel.
Question about installed package.
-
- Posts: 161
- Joined: 14 Mar 2016 10:24
- Contact:
Question about installed package.
- Attachments
-
- mP servo package.jpg (485.8 KiB) Viewed 3612 times
To DIY or not to DIY
- jovana.medakovic
- mikroElektronika team
- Posts: 986
- Joined: 18 Dec 2018 10:36
Re: Question about installed package.
Hello,
Unfortunately, mikroSDK is not compatible with ATMEGA328P MCU.
Can you tell me which development board you are using?
On our GitHub, you can find the source code of your click board, so you can write your project without using SDK:
https://github.com/MikroElektronika/Servo_click
Kind regards,
Jovana
Unfortunately, mikroSDK is not compatible with ATMEGA328P MCU.
Can you tell me which development board you are using?
On our GitHub, you can find the source code of your click board, so you can write your project without using SDK:
https://github.com/MikroElektronika/Servo_click
Kind regards,
Jovana
-
- Posts: 161
- Joined: 14 Mar 2016 10:24
- Contact:
Re: Question about installed package.
Tnx.
I'm using an Arduino UNO 328p board.
Correct me when I'm wrong but the package manager shows:
I'm able to open 3 source files,. but still:
Thanks in advance, I appreciate your help!
I'm using an Arduino UNO 328p board.
Correct me when I'm wrong but the package manager shows:
I'm able to open 3 source files,. but still:
Thanks in advance, I appreciate your help!
To DIY or not to DIY
- jovana.medakovic
- mikroElektronika team
- Posts: 986
- Joined: 18 Dec 2018 10:36
Re: Question about installed package.
Hello,
You need to install mikroSDK for your compiler:
https://libstock.mikroe.com/projects/view/2249/mikrosdk
However, when you open that and go easyavr_v7_generic -> Dependency, you can see that your MCU is not checked, so you cannot use SDK for this MCU.
In the last answer, I sent you source code so you can write your project without using SDK.
Kind regards,
Jovana
You need to install mikroSDK for your compiler:
https://libstock.mikroe.com/projects/view/2249/mikrosdk
However, when you open that and go easyavr_v7_generic -> Dependency, you can see that your MCU is not checked, so you cannot use SDK for this MCU.
In the last answer, I sent you source code so you can write your project without using SDK.
Kind regards,
Jovana
- Attachments
-
- ATmega328P.png (103.82 KiB) Viewed 3593 times
-
- Posts: 161
- Joined: 14 Mar 2016 10:24
- Contact:
Re: Question about installed package.
Thank you very much!
Installed mikroSDK, I think I understand it now!
In "C:\..\mikroBus Definition API\Uses" are *.mpas files, wich contain code/declarations ( opened in wordpad ).
Tnx agian, I really appreciate!
For me personal it's hard to understand about all the files and the locations of these files!
Lot's of things going on, before the actual programming starts. Not a problem of mikroE or any other but of me!
Installed mikroSDK, I think I understand it now!
In "C:\..\mikroBus Definition API\Uses" are *.mpas files, wich contain code/declarations ( opened in wordpad ).
Tnx agian, I really appreciate!
For me personal it's hard to understand about all the files and the locations of these files!
Lot's of things going on, before the actual programming starts. Not a problem of mikroE or any other but of me!
To DIY or not to DIY
-
- Posts: 161
- Joined: 14 Mar 2016 10:24
- Contact:
Re: Question about installed package.
Hi,
tried a lot of things but I don't manage to get it work.
Proberly my aproach is wrong.
Can anyone give me a push in the right direction?
Thanks in advance.
tried a lot of things but I don't manage to get it work.
Proberly my aproach is wrong.
Can anyone give me a push in the right direction?
Thanks in advance.
To DIY or not to DIY
- jovana.medakovic
- mikroElektronika team
- Posts: 986
- Joined: 18 Dec 2018 10:36
Re: Question about installed package.
Hello,
You can look at this link:
https://learn.adafruit.com/16-channel-p ... r?view=all
Our Servo click board uses PCA9685 and on the link above you can see how to use it on Arduino and there you can find a code for Arduino.
I believe it will help you.
Also, I sent you the source code, so you can write your project for Arduino.
Kind regards,
Jovana
You can look at this link:
https://learn.adafruit.com/16-channel-p ... r?view=all
Our Servo click board uses PCA9685 and on the link above you can see how to use it on Arduino and there you can find a code for Arduino.
I believe it will help you.
Also, I sent you the source code, so you can write your project for Arduino.
Kind regards,
Jovana
-
- Posts: 161
- Joined: 14 Mar 2016 10:24
- Contact:
Re: Question about installed package.
Thanks for you help/code etc.
I'm not able to get it work, for now on the software i2c is too mucht for me.
For the time being, gonna code myself a servocontrol for a handfull of servo's, using timers/counterss/ISR etc.
Off Topic:
2 years ago, jumped into world of microcontrollers
and now I'm understanding/coding/learning:
(with my TurboPascal background)
I/O
ADC
SUART ( from/to pc-lazarus)
ISR
LCD (e.g. 2x16)
tcu ( using my own code/lib)
2812b ledstrips
etc
Thank you, mikroE
I'm not able to get it work, for now on the software i2c is too mucht for me.
For the time being, gonna code myself a servocontrol for a handfull of servo's, using timers/counterss/ISR etc.
Off Topic:
2 years ago, jumped into world of microcontrollers
and now I'm understanding/coding/learning:
(with my TurboPascal background)
I/O
ADC
SUART ( from/to pc-lazarus)
ISR
LCD (e.g. 2x16)
tcu ( using my own code/lib)
2812b ledstrips
etc
Thank you, mikroE
To DIY or not to DIY
-
- Posts: 161
- Joined: 14 Mar 2016 10:24
- Contact:
Re: Question about installed package.
Some issues to solve but got servo's at refresh rate of 50Hz and SignalHigh variating between 1ms and 2ms.
In the future, I will go on with the twi/software-i2c, for now on, got servo's working for project.
Kind regards. Marcel
In the future, I will go on with the twi/software-i2c, for now on, got servo's working for project.
Kind regards. Marcel
To DIY or not to DIY
-
- Posts: 161
- Joined: 14 Mar 2016 10:24
- Contact:
Re: Question about installed package.
Just noticed the ATmega2560 is in the list!
To DIY or not to DIY