Updated Configuration Variables (CV) List (markdown)

Gabriel Koppenstein committed 2022-08-02 18:06:12 +02:00
1 parent 7f0a962633
commit d547a5760e
1 file changed
+10 -2
+10 -2
@@ -1,6 +1,14 @@
# Comments regarding Configuration Variables:
CV.h contains default values for every CV. When your board is still "factory new" these values are automatically written into flash. CV_65 == 255 indicates a factory condition and resets all CVs to default. Alternatively to reset all CVs to default a value of 8 can be written to CV8. Also note that index 0 in the CV array corresponds with CV_1, index 1 corresponds with CV_2 and so forth. This list only contains CVs that are in use.
# Speed step configuration:
![Speed Table](https://github.com/gab-k/RP2040-Decoder/blob/main/docs/svg/speed_table.svg)
* V_min = CV_2
* V_mid = CV_6 * 16
* V_max = CV_5 * 16
The illustration above shows how the speed steps can be configured using the corresponding CVs. The red * represents V_min which is always at speed step 1, the green * shows V_mid at speed step 64 and the blue * shows V_max at speed step 126.
# CV List:
#### CV_1 - Basic address
@@ -16,10 +24,10 @@ CV_3*CV_175 = Time for one discrete speed step change in ms
CV_4*CV_175 = Time for one discrete speed step change in ms
#### CV_5 - V_max
Max motor voltage/speed
Max motor voltage/speed - V_max = CV_5 * 16
#### CV_6 - V_mid
Mid motor voltage/speed
Mid motor voltage/speed - V_max = CV_6 * 16
#### CV_7 - Version No. (Read-Only)
Rev 0.3 = 1