Help with c127 controlling heated grips

D153, D175, C125, C127, C185 and C187 forum

Re: Help with c127 controlling heated grips

Postby David Ferguson on Sun Jul 12, 2020 10:09 am

Doorev1200 wrote:Can someone please explain this user condition to me and how it is interpreted.

Next button false and not(next button false(for 0.10s)) and display mode change false (for 0.20s)


OK, three conditions have to all be true (the "and" operator forces this):
1) Next Button false (so it's not being currently pushed if it's a momentary button)

2) not (invert the state of ) (next button false for 0.1 sec) so this condition is only true when next button is either true (which conflicts with the first condition) or has been false for less than 0.1 second (so it was true)

3)display mode change false for 0.2 sec -- we have not changed display modes in last 0.2 sec.

So, the result is that this condition becomes true only when you do quick clicks of the Next Button. Holding down the next button will generally change the display mode. -- it's a trick for overloading the next button to do two things.
David Ferguson
Veracity Racing Data
David Ferguson
Pro User
 
Posts: 1379
Joined: Fri Nov 07, 2008 2:45 am
Location: Paso Robles, California

Re: Help with c127 controlling heated grips

Postby Doorev1200 on Sun Jul 12, 2020 12:33 pm

Ok that makes sense to me now. Thanks!
Doorev1200
 
Posts: 48
Joined: Thu Jun 18, 2020 2:57 pm
Location: Manitoba,Canada

Re: Help with c127 controlling heated grips

Postby Doorev1200 on Tue Sep 08, 2020 3:04 pm

i received my dash and hooked it up to run the grips and lever heater via a solid state relay with the frequency set up as a constant 1hz. I have 9 settings for heat settings and it works perfect! Thanks for all the help :D

Greg
Doorev1200
 
Posts: 48
Joined: Thu Jun 18, 2020 2:57 pm
Location: Manitoba,Canada

Previous

Return to Colour displays

Who is online

Users browsing this forum: No registered users and 10 guests