Hello,
can anyone help me with the use of the EBM019 component? I tried to apply it in my small software first using Flowcode6 and then Flowcode7 but I get compilation errors that I do not know how to correct. I abandoned my software and downloaded the demo "EBM019 Example" and had no errors in the compilation. The example uses the EBM019 component in a program that runs on the micro Pic16F1937 while I use a Pic18F1220 and is compiling that I get errors.
-------------------------------------------------- ------------------------
These are the errors
Employing incorrect 18F1220 work-arounds:
* GOTO instruction at reset vector must be preceded by NOP
* DAW instruction may improperly clear CARRY bit
How can I solve these 2 problems mentioned above?
-----------------------------
How do I solve the problem below?
EBM019 _-_ Test_Program.c: FCD_0e401_EBM019_Ultrasonic1__GetDistance ()
287: OPTION_REG & = 0x30;
^ (192) undefined identifier "OPTION_REG"
-------------------------------------------------- -------------------------
Can anyone tell me what knowledge I have to understand?
Is there a text to consult in these cases?
Where can I study to solve the errors that are indicated to me? Why in the simulation works and compiling in "C" are not indicated errors while compiling in HEX yes?
Sorry I'm ignorant but I would like to learn.
Greetings to all
EBM019 compilation errors
Moderator: Benj
-
- Posts: 25
- Joined: Sun May 20, 2018 10:41 pm
- Has thanked: 3 times
- Been thanked: 1 time
- Contact:
EBM019 compilation errors
- Attachments
-
- EBM019_-_Test_Program1220.fcfx
- (16.26 KiB) Downloaded 242 times
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: EBM019 compilation errors
Hi
could you please try the attached updated component
to go into your Flowcode 7 Components directory
could you please try the attached updated component
to go into your Flowcode 7 Components directory
- Attachments
-
- EBM019_Ultrasonic.fcpx
- (80.38 KiB) Downloaded 224 times