Spectrometer

General discussion on Libstock website & codes posted on this website.
Post Reply
Author
Message
ipestell
Posts: 86
Joined: 16 Mar 2007 12:38

Spectrometer

#1 Post by ipestell » 25 Jul 2020 12:17

I have downloaded the package for the Spectrometer Click, and load the Pic example into my C compiler, and it compiled fine.

However, I wish to use the Click with a different processor (P18F45K22), and different clock speed (32MHz)

When I change the processor (and remove the SDK features, it compiles fine, but as soon as a change the clock speed, it fails to compile saying Spectrometer_P18.C. I t doesn't seem to matter what speed I choose. Also, it does not seem to matter what processor I choose, it will only compile at 64 MHz.

Basically, I would like to run the Spectrometer click using a P18F45K22 without SDK, any help suggestions would be appreciated.

In terms of development board, I have both Easypic V7 and V8

User avatar
jovana.medakovic
mikroElektronika team
Posts: 986
Joined: 18 Dec 2018 10:36

Re: Spectrometer

#2 Post by jovana.medakovic » 28 Jul 2020 08:08

Hello,

In the attachment, you can find the source code of the Spectrometer click board. You can use the source code, extract the functions and use them without "hal" and other mikroSDK functions.
If you get some message error, send me a screenshot.

Kind regards,
Jovana
Attachments
library.zip
(53.95 KiB) Downloaded 90 times

ipestell
Posts: 86
Joined: 16 Mar 2007 12:38

Re: Spectrometer

#3 Post by ipestell » 28 Jul 2020 12:56

Thank you for the download, I will have a look through it, and see if I can resolve the problem.

Post Reply

Return to “Libstock Discussion”