@@ -16,8 +16,8 @@ class Board(ComponentBase):
1616 components such as analog readers, and digital interrupts.
1717
1818 This acts as an abstract base class for any drivers representing specific
19- board implementations. This cannot be used on its own. If the `__init__()` function is
20- overridden, it must call the `super().__init__()` function.
19+ board implementations. This cannot be used on its own. If the `` __init__()` ` function is
20+ overridden, it must call the `` super().__init__()` ` function.
2121 """
2222
2323 @dataclass
@@ -70,14 +70,14 @@ async def tick(self, high: bool, nanos: int):
7070 high (bool): If the signal of the interrupt is high.
7171 nanos (int): Nanoseconds from an arbitrary point in time,
7272 but always increasing and always needs to be accurate.
73- Using `time.time_ns()` would be acceptable.
73+ Using `` time.time_ns()` ` would be acceptable.
7474 """
7575 ...
7676
7777 @abc .abstractmethod
7878 async def add_callback (self , queue : Queue ):
7979 """
80- Add a callback to be sent the low/high value on `tick()`.
80+ Add a callback to be sent the low/high value on `` tick()` `.
8181
8282 Args:
8383 queue (Queue): The receiving queue.
@@ -88,7 +88,7 @@ async def add_callback(self, queue: Queue):
8888 async def add_post_processor (self , processor : PostProcessor ):
8989 """
9090 Add a post processor that should be used to modify what
91- is returned by `self.value()`
91+ is returned by `` self.value()` `
9292
9393 Args:
9494 processor (PostProcessor): The post processor to add.
@@ -133,7 +133,7 @@ async def get_pwm(self, *, extra: Optional[Dict[str, Any]] = None, timeout: Opti
133133 @abc .abstractmethod
134134 async def set_pwm (self , duty_cycle : float , * , extra : Optional [Dict [str , Any ]] = None , timeout : Optional [float ] = None , ** kwargs ):
135135 """
136- Set the pin to the given `duty_cycle`.
136+ Set the pin to the given `` duty_cycle` `.
137137
138138 Args:
139139 duty_cycle (float): The duty cycle.
@@ -160,8 +160,8 @@ async def set_pwm_frequency(
160160 ** kwargs ,
161161 ):
162162 """
163- Set the pin to the given PWM `frequency` (in Hz).
164- When `frequency` is 0, it will use the board's default PWM frequency.
163+ Set the pin to the given PWM `` frequency` ` (in Hz).
164+ When `` frequency` ` is 0, it will use the board's default PWM frequency.
165165
166166 Args:
167167 frequency (int): The frequency, in Hz.
@@ -171,7 +171,7 @@ async def set_pwm_frequency(
171171 @abc .abstractmethod
172172 async def analog_reader_by_name (self , name : str ) -> AnalogReader :
173173 """
174- Get an AnalogReader by `name`.
174+ Get an AnalogReader by `` name` `.
175175
176176 Args:
177177 name (str): Name of the analog reader to be retrieved.
@@ -184,7 +184,7 @@ async def analog_reader_by_name(self, name: str) -> AnalogReader:
184184 @abc .abstractmethod
185185 async def digital_interrupt_by_name (self , name : str ) -> DigitalInterrupt :
186186 """
187- Get a DigitalInterrupt by `name`.
187+ Get a DigitalInterrupt by `` name` `.
188188
189189 Args:
190190 name (str): Name of the digital interrupt.
@@ -197,7 +197,7 @@ async def digital_interrupt_by_name(self, name: str) -> DigitalInterrupt:
197197 @abc .abstractmethod
198198 async def gpio_pin_by_name (self , name : str ) -> GPIOPin :
199199 """
200- Get a GPIO Pin by `name`.
200+ Get a GPIO Pin by `` name` `.
201201
202202 Args:
203203 name (str): Name of the GPIO pin.
0 commit comments