Initial creation

Gabriel Koppenstein committed 2022-03-01 01:33:01 +01:00
1 parent 2b5e07b62c
commit 46f58a9684
1 file changed
+35
+35
@@ -0,0 +1,35 @@
# Comments regarding Configuration Variables:
CV.h contains default values for every CV. When your board is still "factory new" these values need to be written into flash. This is done easiest by writing a value of 8 to CV8. Also note that index 0 in the CV array corresponds with CV1 and so forth. Also note that the CV list only contains CVs that are in use.
# CV List:
### CV1 - Basic address
Short DCC address
***
### CV2 - V_min
Min motor voltage
***
### CV3 - Acceleration rate
CV_3*CV_59 = Time for one discrete speed step change in ms
***
### CV_4 - Deceleration rate
CV_4*CV_59 = Time for one discrete speed step change in ms
***
### CV_5 - V_max
Max motor voltage
***
### CV_6 - V_mid
Mid motor voltage
***
### CV_7 - Version No.
Rev 0.2 = 1
Writing a value of 7 starts the offset adjustment procedure ("Motor calibration")
***
### CV_8 - Manufacturer
Default = 13 = Public Domain & Do-It-Yourself Decoders
Writing a value of 8 resets all CV values to the values in CV.h
***
### CV_9 - PWM Frequency
f in Hz = CV_9 * 100 + 10000
Default = (150 * 100 + 10000)Hz = 25kHz