This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
vnh20sp30
#33
(2020-04-01, 08:42 PM)ironman Wrote: My question: how can I use the pwm_style=2 modus without messing up or disabling my readings? Thx!

Figured it out, I think: changing line 387*) of motor.ino to 

Quote:if(ratiometric_mode)

that is, dropping the 'pwm_style == 2' clause, returns the correct readings of controller_temp and controller voltage. I also checked controller current and that is ok as well.

*) EDIT: in the 09-APR-2020 version of motor.init this is line 430
Reply


Messages In This Thread
vnh20sp30 - by seandepagnier - 2018-11-02, 03:35 PM
RE: vnh20sp30 - by jim321 - 2018-11-02, 05:13 PM
RE: vnh20sp30 - by jim321 - 2018-11-04, 08:33 PM
RE: vnh20sp30 - by seandepagnier - 2018-11-05, 12:35 AM
RE: vnh20sp30 - by jim321 - 2018-11-05, 04:02 PM
RE: vnh20sp30 - by seandepagnier - 2018-11-05, 07:30 PM
RE: vnh20sp30 - by jim321 - 2018-11-06, 02:47 PM
RE: vnh20sp30 - by jim321 - 2018-11-13, 12:06 PM
RE: vnh20sp30 - by jim321 - 2018-11-15, 06:07 PM
RE: vnh20sp30 - by donovanes - 2018-12-17, 12:12 AM
RE: vnh20sp30 - by vatuhiva - 2019-09-08, 11:35 AM
RE: vnh20sp30 - by Stevendark - 2019-10-22, 08:03 PM
RE: vnh20sp30 - by seandepagnier - 2019-10-23, 12:27 AM
RE: vnh20sp30 - by Stevendark - 2019-10-29, 12:13 PM
RE: vnh20sp30 - by vatuhiva - 2019-10-29, 12:24 PM
RE: vnh20sp30 - by Stevendark - 2019-11-28, 01:13 AM
RE: vnh20sp30 - by seandepagnier - 2019-11-29, 02:13 AM
RE: vnh20sp30 - by Stevendark - 2019-12-11, 12:52 AM
RE: vnh20sp30 - by CapnKernel - 2019-11-29, 06:44 AM
RE: vnh20sp30 - by Baltic Sailor - 2019-12-01, 07:51 PM
RE: vnh20sp30 - by CapnKernel - 2019-12-05, 10:38 AM
RE: vnh20sp30 - by CapnKernel - 2019-12-11, 04:49 AM
RE: vnh20sp30 - by seandepagnier - 2019-12-04, 12:12 AM
RE: vnh20sp30 - by jamos.tan@gmail.com - 2019-12-30, 05:06 PM
RE: vnh20sp30 - by CapnKernel - 2019-12-31, 06:33 AM
RE: vnh20sp30 - by Ola_H - 2020-02-14, 04:36 PM
RE: vnh20sp30 - by CapnKernel - 2020-02-15, 10:08 AM
RE: vnh20sp30 - by seandepagnier - 2020-02-15, 03:13 AM
RE: vnh20sp30 - by seandepagnier - 2020-02-15, 03:45 PM
RE: vnh20sp30 - by Ola_H - 2020-02-16, 12:38 PM
RE: vnh20sp30 - by ironman - 2020-04-01, 08:42 PM
RE: vnh20sp30 - by ironman - 2020-04-02, 04:12 PM
RE: vnh20sp30 - by ironman - 2020-04-02, 01:16 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)