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
EBM019 ultrasonic sensor
-
- Posts: 2
- http://meble-kuchenne.info.pl
- Joined: Tue Nov 29, 2022 12:40 pm
- Has thanked: 1 time
-
- Matrix Staff
- Posts: 1763
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 448 times
- Been thanked: 609 times
Re: EBM019 ultrasonic sensor
Hello Mike,
Thanks for letting you know, looking for you now.
Thanks for letting you know, looking for you now.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Matrix Staff
- Posts: 1763
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 448 times
- Been thanked: 609 times
Re: EBM019 ultrasonic sensor
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel