EBM019 ultrasonic sensor
Posted: Tue Nov 29, 2022 12:46 pm
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
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