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

cross mob
Sang-Min
Level 1
Level 1
5 sign-ins First reply posted First question asked

Hi, 

I have question about Psoc4 motor control example project that is 'Sensored BLCD Motor'. 

From the getvalue.c file, there is following code.  could you let me know how this formula was defined? 

speedGiven = UI_Data.minSpeedRpm + ((uint32)(speedSampleCur * speedRange) /
(MAX_SPEED_REF_ADC_VALUE - MIN_SPEED_REF_ADC_VALUE));
return speedGiven;

 

Sang-Min, 

0 Likes
1 Solution
wuchunli
Employee
Employee
First solution authored First reply posted Welcome!

Hi,

it is almost like below figure shows:

wuchunli_1-1636444515964.png

Best Regards,

Laura

 

View solution in original post

0 Likes
3 Replies
LinglingG_46
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 10 questions asked

Now we are on National Day holiday. I will give you feedback as soon as possible when I am back to office.

0 Likes
Sang-Min
Level 1
Level 1
5 sign-ins First reply posted First question asked

Hi, 

Is any update? 

Sang-Min

0 Likes
wuchunli
Employee
Employee
First solution authored First reply posted Welcome!

Hi,

it is almost like below figure shows:

wuchunli_1-1636444515964.png

Best Regards,

Laura

 

0 Likes