gobbleygook DCC
#5
CV Bit data is using binary. Binary is where a number can be represented by 1's and 0's. This is used for a number of CV settings, such as CV29, CV50 and CV51.

Below is a table that shows the value of each Bit that is on (true). Any bit that is off (false) has a value of 0.

So if bits 1, 5 and 7 are required, just add the True values together and that is the value used in that CV. In this exampe the value is 81.

The maximum value any one CV can have is 255. This is the maximum value of 8 bit binary. Add all the true values together below and, hey presto, there's 255.

Bit ... True ... False
1 . . . . 1 . . . . . 0
2 . . . . 2 . . . . . 0
3 . . . . 4 . . . . . 0
4 . . . . 8 . . . . . 0
5 . . . . 16 . . . . 0
6 . . . . 32 . . . . 0
7 . . . . 64 . . . . 0
8 . . . . 128 . . . 0

Hope this makes some sense.

Angie
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)