Hi Benj,
I have two problems with you regarding line and distance sensors.
The first concerns the return variable of the functions "CheckIR" and "CheckLine" which is in byte:
MX_UINT8 FCD_0dcd1_FormulaAllCode1__CheckIR (MX_UINT8 FCL_SENSOR)
while the return variable of "ReadIRSensor" is in full: MX_UINT16 LCD_0dcd1_FormulaAllCode1__ReadIRSensor (MX_UINT8 FCL_CHANNEL)
During operation there are several state changes depending on the distance!
Same for "ReadLine" and "CheckLineSensor".
During operation there are several state changes depending on the distance!
Another problem now that concerns the simulation; the function "CheckIR" is not simulated unlike the "CheckLine function that works well (and that simulates the first problem).
Thank you in advance for having the time to work on these problems for a V7 flowcode solution!
Bruno
IRSensor & LineSensor
- 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: IRSensor & LineSensor
Thanks for letting us know. It looks like the bug is present in v7 and v8 so I'll get them both fixed.
Please find attached an updated version of the v7 component. Simly copy the file into your "Flowcode 7\components" folder and restart Flowcode.
Please find attached an updated version of the v7 component. Simly copy the file into your "Flowcode 7\components" folder and restart Flowcode.
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: IRSensor & LineSensor
Sorry but the leds do not work properly anymore ...
Bruno
Bruno
- Attachments
-
- Screen Shot 11-25-19 at 07.08 PM.PNG
- (6.18 KiB) Downloaded 1337 times
- 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: IRSensor & LineSensor
Aha thanks for letting us know, hopefully all fixed now.
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