Skip to content

Commit

Permalink
reformat simulator hint
Browse files Browse the repository at this point in the history
  • Loading branch information
ganicke committed Oct 23, 2023
1 parent aeff984 commit 64456c4
Show file tree
Hide file tree
Showing 12 changed files with 36 additions and 12 deletions.
4 changes: 3 additions & 1 deletion docs/reference/pins/i2c-read-buffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ A device connected to the I2C pins on the @boardname@ at the address is selected

### ~ hint

**Simulator**: This function needs real hardware to work with. It's not supported in the simulator.
#### Simulator

This function needs real hardware to work with. It's not supported in the simulator.

### ~

Expand Down
4 changes: 3 additions & 1 deletion docs/reference/pins/i2c-read-number.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ pins.i2cReadNumber(0, NumberFormat.Int8LE, false);

### ~ hint

**Simulator**: This function needs real hardware to work with. It's not supported in the simulator.
#### Simulator

This function needs real hardware to work with. It's not supported in the simulator.

### ~

Expand Down
4 changes: 3 additions & 1 deletion docs/reference/pins/i2c-write-buffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ A device connected to the I2C pins on the @boardname@ at the address is selected

### ~ hint

**Simulator**: This function needs real hardware to work with. It's not supported in the simulator.
#### Simulator

This function needs real hardware to work with. It's not supported in the simulator.

### ~

Expand Down
4 changes: 3 additions & 1 deletion docs/reference/pins/i2c-write-number.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ pins.i2cWriteNumber(0, 0, NumberFormat.Int8LE, true);

### ~ hint

**Simulator**: This function needs real hardware to work with. It's not supported in the simulator.
#### Simulator

This function needs real hardware to work with. It's not supported in the simulator.

### ~

Expand Down
4 changes: 3 additions & 1 deletion docs/reference/pins/on-pulsed.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ pins.onPulsed(DigitalPin.P0, PulseValue.High, () => { });

### ~ hint

**Simulator**: This function needs real hardware to work with. It's not supported in the simulator.
#### Simulator

This function needs real hardware to work with. It's not supported in the simulator.

### ~

Expand Down
4 changes: 3 additions & 1 deletion docs/reference/pins/pulse-duration.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ A pin pulse is detected in the [onPulsed](/reference/pins/on-pulsed) event. You

### ~ hint

**Simulator**: This function needs real hardware to work with. It's not supported in the simulator.
#### Simulator

This function needs real hardware to work with. It's not supported in the simulator.

### ~

Expand Down
4 changes: 3 additions & 1 deletion docs/reference/pins/pulse-in.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ Please read the [page about pins](/device/pins) carefully.

### ~ hint

**Simulator**: This function needs real hardware to work with. It's not supported in the simulator.
#### Simulator

This function needs real hardware to work with. It's not supported in the simulator.

### ~

Expand Down
4 changes: 3 additions & 1 deletion docs/reference/pins/set-events.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ pins.setEvents(DigitalPin.P0, PinEventType.Edge);

### ~ hint

**Simulator**: This function needs real hardware to work with. It's not supported in the simulator.
#### Simulator

This function needs real hardware to work with. It's not supported in the simulator.

### ~

Expand Down
4 changes: 3 additions & 1 deletion docs/reference/pins/spi-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ The data sent over a SPI connection has a number of _bits_ to represent each val

### ~ hint

**Simulator**: This function needs real hardware to work with. It's not supported in the simulator.
#### Simulator

This function needs real hardware to work with. It's not supported in the simulator.

### ~

Expand Down
4 changes: 3 additions & 1 deletion docs/reference/pins/spi-frequency.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ The @boardname@ sets the rate of data transfer and control timing for a SPI conn

### ~ hint

**Simulator**: This function needs real hardware to work with. It's not supported in the simulator.
#### Simulator

This function needs real hardware to work with. It's not supported in the simulator.

### ~

Expand Down
4 changes: 3 additions & 1 deletion docs/reference/pins/spi-pins.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ To configure the @boardname@ to write to an external device using a SPI connecti

### ~ hint

**Simulator**: This function needs real hardware to work with. It's not supported in the simulator.
#### Simulator

This function needs real hardware to work with. It's not supported in the simulator.

### ~

Expand Down
4 changes: 3 additions & 1 deletion docs/reference/pins/spi-write.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ Data values are written to a SPI slave device connected to the @boardname@ by th

### ~ hint

**Simulator**: This function needs real hardware to work with. It's not supported in the simulator.
#### Simulator

This function needs real hardware to work with. It's not supported in the simulator.

### ~

Expand Down

0 comments on commit 64456c4

Please sign in to comment.