EBM019 ultrasonic sensor

Use this section to discuss your embedded Flowcode projects.
Post Reply
mikelateo
Posts: 2
http://meble-kuchenne.info.pl
Joined: Tue Nov 29, 2022 12:40 pm
Has thanked: 1 time

EBM019 ultrasonic sensor

Post by mikelateo »

hello,

I am used to using the basic setup of flowcode.

I am attempting to compile the EBM019 ultrasonic test flowcode project provided in the example EBM files.

below is the error report.

is it a simple fix ?

help appreciated

Mike

Copyright (C) 2019 Microchip Technology Inc.
EBM019_-_Test_Program.c: FCD_0e401_EBM019_Ultrasonic1__GetDistance()
303: FCL_SAMPLE = FC_CAL_ADC_Sample(0);
^ (361) function declared implicit int (warning)
using updated 32-bit floating-point libraries; improved accuracy might increase code size
.

EBM019_-_Test_Program.c: 303: (1464) number of arguments passed to function "_FC_CAL_ADC_Sample" does not match function's prototype (warning)
0: (499) undefined symbol:
_FC_CAL_ADC_Sample(EBM019_-_Test_Program.obj)
(908) exit status = 1
(908) exit status = 1

Error returned from [xc8.exe]

C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\PIC\batch\pic_xc8_comp.bat reported error code 0x1

BenR
Matrix Staff
Posts: 1739
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 440 times
Been thanked: 603 times

Re: EBM019 ultrasonic sensor

Post by BenR »

Hello Mike,

Thanks for letting you know, looking for you now.

mikelateo
Posts: 2
Joined: Tue Nov 29, 2022 12:40 pm
Has thanked: 1 time

Re: EBM019 ultrasonic sensor

Post by mikelateo »

any news about the error ?

BenR
Matrix Staff
Posts: 1739
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 440 times
Been thanked: 603 times

Re: EBM019 ultrasonic sensor

Post by BenR »

Hello,

I've had a go at fixing the issue for you and pushed the fix to the library update system. Go to Help -> Library updates to get the latest fixes and hopefully this will solve the problem for you.

Post Reply