Libstock "USB HID using PIC18F4550" in errors

General discussion on Libstock website & codes posted on this website.
Post Reply
Author
Message
sonoman
Posts: 5
Joined: 01 Jan 2010 17:16

Libstock "USB HID using PIC18F4550" in errors

#1 Post by sonoman » 14 Apr 2020 22:49

Hi,
I found a libstock "USB HID using PIC18F4550" https://libstock.mikroe.com/projects/vi ... pic18f4550 which interests me to discover the USB dialogue in HID mode with MikroC.
There are errors when recompiling the source.
I think this is due to the use of an older version of the compiler.
Can someone put this in order ?
It's not my level at the moment.
Thank you

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

Re: Libstock "USB HID using PIC18F4550" in errors

#2 Post by hexreader » 14 Apr 2020 23:45

Untick the Conversions library tick box.

The author used the same name strToInt for his own function, which conflicts with library function StrToInt.

The project will then compile.

No idea if it will work
Start every day with a smile...... (get it over with) :)

sonoman
Posts: 5
Joined: 01 Jan 2010 17:16

Re: Libstock "USB HID using PIC18F4550" in errors

#3 Post by sonoman » 16 Apr 2020 09:14

Hi Hexreader,

Very thanks. I've rename strtoint in strtointeger and it's ok.
Sonoman

Post Reply

Return to “Libstock Discussion”