Skip to content

Commit

Permalink
Updated version number and added information about the CV65 to the re…
Browse files Browse the repository at this point in the history
…adme.
  • Loading branch information
PontusO committed Mar 27, 2024
1 parent ee9b4b7 commit 8d52a42
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
RP2040-Decoder
===============

This Project is a DIY DCC Decoder for model railroad locomotives which aims to be cost effective.
This Project is a fork from Garbiel Keppensteings RP2040 base DIY DCC Decoder for model railroad locomotives which aims to be cost effective.

News
----

2024-03-27 - The latest firmware (V2) now also supports a kick start feature.
This is controlled by CV65. Setting this CV to anythin non zero will enable a motor pulse equal in milliseconds to the number written into CV65.
This feature is used to overcome motor and drivetrain stiction when a locomotive starts to move from standstill.
The default value is 0 which means the feature is disabled and setting it to a non zero value will enable the feature.
Do not write the value 255 (a 255 mS pulse) to this register as this will completely reset your decoder.

Features
--------
Expand Down
2 changes: 1 addition & 1 deletion src/CV.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ uint8_t CV_ARRAY_DEFAULT [CV_ARRAY_SIZE] = {
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
0b01100100, //CV_5 - V_max - Default = 100*16
0b00111111, //CV_6 - V_mid - Default = 63*16
0b00000001, //CV_7 - Version no. (read-only)
0b00000010, //CV_7 - Version no. (read-only)
// Writing a value of 8 to CV_8 resets all CV values to the default values in CV.h
0b00001101, //CV_8 - Manufacturer (13 = Public Domain & Do-It-Yourself Decoders) (read-only)
0b10010110, //CV_9 - PWM frequency in Hz = CV_9*100+10000 - Default = (150*100+10000)Hz = 25kHz
Expand Down

0 comments on commit 8d52a42

Please sign in to comment.