Skip to content

Commit

Permalink
added fenced code block to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
RoXXoR committed Feb 28, 2014
1 parent b04e8da commit 7dc19b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Software functions for MSP430 to drive WS2812/B RGB LEDs via one-wire bus

The SPI peripheral will be used in cooperation with one of two transport stream encodings schemes.
One 3-bit and one 4-bit encoding was implemented for a SPI clock speed as low as 2.66MHz.

```
/*
******************
* 3-bit encoding *
Expand Down Expand Up @@ -67,3 +67,4 @@ One 3-bit and one 4-bit encoding was implemented for a SPI clock speed as low as
#define ONEZEROPATTERN (( ONEPATTERN<<4) | ZEROPATTERN) // 11101000 |_| |___
// ___ ___
#define ONEONEPATTERN (( ONEPATTERN<<4) | ONEPATTERN) // 11101110 |_| |_
```

0 comments on commit 7dc19b0

Please sign in to comment.