Project

General

Profile

Wrong definition for Digital Input block

Added by Supachai Vorapojpisut 3 months ago

Version: 20.11b.
Bug status: model can not built with Digital Input block.
Cause: line 41 having a backquote character in \targets\esp32\src\blocks\esp32_digital_input.tlc.


Replies (3)

RE: Wrong definition for Digital Input block - Added by Dhanika Mahipala (ดานิก้า) 3 months ago

Hello Supachai Vorapojpisut,

Thank you for using Waijung2. Could you please attach the Simulink model file (.slx) that gives you this error? Also it would be helpful if you could mention the Matlab version which you are using.

Best regards,
Dhanika

RE: Wrong definition for Digital Input block - Added by Supachai Vorapojpisut 3 months ago

Problem is neither my model nor my MATLAB. Please check esp32_digital_input.tlc in 20.11b version.

%assign pin41`= CAST("Number",SFcnParamSettings.pin41)

ิBackquote character in the file.

RE: Wrong definition for Digital Input block - Added by Dhanika Mahipala (ดานิก้า) 3 months ago

Please replace the esp32_digital_input.tlc with the file given below.

Patch file: esp32_digital_input.tlc

Best regards,
Dhanika

    (1-3/3)