Commit ff732ab470839666b91b0b215766fb54c26bb396
1 parent
1a844013
fix README
Showing
1 changed file
with
2 additions
and
2 deletions
README.md
| @@ -24,7 +24,7 @@ if (bridges.empty()) | @@ -24,7 +24,7 @@ if (bridges.empty()) | ||
| 24 | 24 | ||
| 25 | ### Using Bridges | 25 | ### Using Bridges |
| 26 | If you have found the Bridge you were looking for, you can then move on with the authentication process. | 26 | If you have found the Bridge you were looking for, you can then move on with the authentication process. |
| 27 | -To get a new username from the Bridge (for now) you simply call GetBridge(bridges[<index>]), | 27 | +To get a new username from the Bridge (for now) you simply call GetBridge(bridges[\<index\>]), |
| 28 | where index is your preferred Bridge from the part [Finding Bridges](#findingBridges). | 28 | where index is your preferred Bridge from the part [Finding Bridges](#findingBridges). |
| 29 | ```C++ | 29 | ```C++ |
| 30 | Hue bridge = finder.GetBridge(bridges[0]); | 30 | Hue bridge = finder.GetBridge(bridges[0]); |
| @@ -44,7 +44,7 @@ You can choose from | @@ -44,7 +44,7 @@ You can choose from | ||
| 44 | * HueTemperatureLight | 44 | * HueTemperatureLight |
| 45 | * HueColorLight | 45 | * HueColorLight |
| 46 | * HueExtendedColorLight | 46 | * HueExtendedColorLight |
| 47 | -Then call getLight(<id>) from you bridge object to get the specific light, where id | 47 | +Then call getLight(\<id\>) from you bridge object to get the specific light, where id |
| 48 | is the id of the light set internally by the Hue Bridge. | 48 | is the id of the light set internally by the Hue Bridge. |
| 49 | ```C++ | 49 | ```C++ |
| 50 | HueExtendedColorLight* lamp1 = static_cast<HueExtendedColorLight*>(bridge.getLight(1)); | 50 | HueExtendedColorLight* lamp1 = static_cast<HueExtendedColorLight*>(bridge.getLight(1)); |