Skip to content

Commit

Permalink
Fix code-checking.
Browse files Browse the repository at this point in the history
  • Loading branch information
floitsch committed Nov 8, 2024
1 parent 1309b4a commit bbabb86
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/peripherals/drivers/sparkfun_joystick.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,15 @@ By reading the `REG-DEFAULT-ADDRESS_` register, we can confirm the connectivity

<!-- RESET CODE -->
<!-- HIDDEN CODE import serial -->
<!-- HIDDEN CODE I2C-ADDRESS ::= 0x20 -->
<!-- HIDDEN CODE registers_ := null -->

```
class SparkFunJoystick:
static I2C-ADDRESS ::= 0x20

static REG-DEFAULT-ADDRESS_ ::= 0x00

// ...

constructor device/serial.Device:
registers_ = device.registers

Expand Down

0 comments on commit bbabb86

Please sign in to comment.