Hello,
I am new at this forum and I have a question.
I am building a project for monitoring a hearing aids.
Some data produced is displayed on a Grove I2C display.
Before the upgrade to 7.3 the only problem I found in the Grove I2C component was that the init string (start) was not working (for me).
I worked around that by a separate routine.
But now after the latest update it is not possible to compile anymore!
Error message are (a lot of them):
FCP_SET(FCP_NULL, 0); ^ (171) wrong number of preprocessor macro arguments for "FCP_SET" (2 instead of 5) (warning) FCP_SET(FCP_NULL, 0);
Flowcode1.c: FCD_04071_LCD__RawSend()
FCP_SET_FCP_NULL(0, , , );^ (361) function declared implicit int (warning)
^ (195) expression syntax
I have tried the latest update file “FC7_Latest_Files_18-01-17” but no luck.
Did someone encounter this problem?
Or even better does someone have a solution ?
Thanks,
Evert
Compiler error when using GroveI2C component
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Compiler error when using GroveI2C component
Hello Evert,
Sorry for the delay. Here's a quick go at solving the compile error for you.
Simply copy to your "Flowcode 7/components" directory and restart Flowcode.
Let us know how you get on. Also do you want me to look at the initialise if this isn't working correctly. Can you show me a project where you initialise it by different means and I will see if I can patch this into the component for you.
Sorry for the delay. Here's a quick go at solving the compile error for you.
Simply copy to your "Flowcode 7/components" directory and restart Flowcode.
Let us know how you get on. Also do you want me to look at the initialise if this isn't working correctly. Can you show me a project where you initialise it by different means and I will see if I can patch this into the component for you.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Compiler error when using GroveI2C component
Ben,
Thanks for the quick work.
Works like a charm.
regards,
Evert
Thanks for the quick work.
Works like a charm.
regards,
Evert
Re: Compiler error when using GroveI2C component
Hi Ben.
Here are the initialize routines I am using.
The delays are not optimized but it works for me.
Have a look if you can implement these settings into the component.
Thanks.
Evert
Here are the initialize routines I am using.
The delays are not optimized but it works for me.
Have a look if you can implement these settings into the component.
Thanks.
Evert
- Attachments
-
- Grove_Backlight_Init.fcfx
- (8.25 KiB) Downloaded 192 times
-
- Grove_Init.fcfx
- (7.48 KiB) Downloaded 193 times
-
- Posts: 90
- Joined: Wed Oct 15, 2014 5:20 pm
- Has thanked: 1 time
- Been thanked: 3 times
- Contact:
to modify system to drive lcd 1602A instate of lcd-eb005
I have tried to get lcd 1602A to be recognised by using Macros ,as attached doc snap shot
Iam sending, to go forward the setup Macro can not be found in other icons
lcd_eb005 display can not be found to try , is there any deference between lcd_eb500 & lcd 16 02A
the reason I am asking this question is that the data transfered perfectly well
Iam sending, to go forward the setup Macro can not be found in other icons
lcd_eb005 display can not be found to try , is there any deference between lcd_eb500 & lcd 16 02A
the reason I am asking this question is that the data transfered perfectly well