IS_Duty set in script: Error#11

Announcements

From sunburn to sun earn – we’ve got the power! Watch our #poweringgreen videos now.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
AG_Serad
Level 4
Level 4
First solution authored 25 replies posted 25 sign-ins
Hello,

I'm ising IMC102T and MCEWizard 2.3.0.1.

Into the script, I realisze the following line into Task1_Init():

/* By default IS_Duty = 5% */
IS_Duty = 409;


but on compile time, I get the following error:
"%Error#11: Unknown identifier 'IS_Duty' at line number 193'

Why I get this error? How I should name this parameter into the script to set it?

Regards
0 Likes
1 Reply
AG_Serad
Level 4
Level 4
First solution authored 25 replies posted 25 sign-ins
Hello

Is anybody has a solution to modify the IS_Duty parameter by the script?

Regards
0 Likes