Added some syntax highlighting in the readme

This commit is contained in:
Kristian Lauszus 2014-03-03 02:59:09 +01:00
parent d8cadc5744
commit 76b1c3fb32

View file

@ -57,7 +57,7 @@ Documentation for the library can be found at the following link: <http://felis.
By default serial debugging is disabled. To turn it on simply change ```ENABLE_UHS_DEBUGGING``` to 1 in [settings.h](settings.h) like so: By default serial debugging is disabled. To turn it on simply change ```ENABLE_UHS_DEBUGGING``` to 1 in [settings.h](settings.h) like so:
``` ```C++
#define ENABLE_UHS_DEBUGGING 1 #define ENABLE_UHS_DEBUGGING 1
``` ```
@ -204,7 +204,7 @@ The [Wii](Wii.cpp) library support the Wiimote, but also the Nunchuch and Motion
First you have to pair with the controller, this is done automatically by the library if you create the instance like so: First you have to pair with the controller, this is done automatically by the library if you create the instance like so:
``` ```C++
WII Wii(&Btd, PAIR); WII Wii(&Btd, PAIR);
``` ```
@ -212,7 +212,7 @@ And then press 1 & 2 at once on the Wiimote or press sync if you are using a Wii
After that you can simply create the instance like so: After that you can simply create the instance like so:
``` ```C++
WII Wii(&Btd); WII Wii(&Btd);
``` ```