Skip to content

Commit

Permalink
Better sequence formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
lprhodes committed Mar 14, 2018
1 parent ef5edae commit 149dc91
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,11 @@ You may wish for a hex code to be sent multiple times. A delay can be added betw

The following will perform the following sequence when turning the accessory on:

Send "ON_HEX_CODE"
Wait 0.3s
Send "ON_HEX_CODE"
Wait 0.3s
Send "ON_HEX_CODE"
- Send "ON_HEX_CODE"
- Wait 0.3s
- Send "ON_HEX_CODE"
- Wait 0.3s
- Send "ON_HEX_CODE"

```
{
Expand All @@ -159,11 +159,11 @@ You can also separate the hex object to have separate "on" and "off" outcomes:

The following will perform the following sequence when turning the accessory off:

Send "OFF_HEX_CODE"
Wait 0.3s
Send "OFF_HEX_CODE"
Wait 0.3s
Send "OFF_HEX_CODE"
- Send "OFF_HEX_CODE"
- Wait 0.3s
- Send "OFF_HEX_CODE"
- Wait 0.3s
- Send "OFF_HEX_CODE"

```
{
Expand All @@ -187,11 +187,11 @@ You may wish for different hex codes to be sent at once. A delay can be added be

The following will perform the following sequence when turning the accessory on:

Send "ON_HEX_CODE_1"
Wait 0.3s
Send "ON_HEX_CODE_2"
Wait 0.3s
Send "ON_HEX_CODE_3"
- Send "ON_HEX_CODE_1"
- Wait 0.3s
- Send "ON_HEX_CODE_2"
- Wait 0.3s
- Send "ON_HEX_CODE_3"

```
{
Expand Down Expand Up @@ -221,15 +221,15 @@ You may wish for different hex codes to be sent at once, with some repeating. A

The following will perform the following sequence when turning the accessory on:

Send "ON_HEX_CODE_1"
Wait 0.1s
Send "ON_HEX_CODE_1"
Wait 0.1s
Send "ON_HEX_CODE_1"
Wait 0.3s
Send "ON_HEX_CODE_2"
Wait 0.3s
Send "ON_HEX_CODE_3"
- Send "ON_HEX_CODE_1"
- Wait 0.1s
- Send "ON_HEX_CODE_1"
- Wait 0.1s
- Send "ON_HEX_CODE_1"
- Wait 0.3s
- Send "ON_HEX_CODE_2"
- Wait 0.3s
- Send "ON_HEX_CODE_3"

```
{
Expand Down

0 comments on commit 149dc91

Please sign in to comment.