Fixed whitespace in analogio
This commit is contained in:
parent
724dcda3ec
commit
c3897d0add
|
@ -91,7 +91,7 @@ STATIC void check_for_deinit(analogio_analogin_obj_t *self) {
|
|||
// Provided by context manager helper.
|
||||
|
||||
//|def __exit__(self, ) -> Any:
|
||||
//| """Automatically deinitializes the hardware when exiting a context. See
|
||||
//|"Automatically deinitializes the hardware when exiting a context. See
|
||||
//|:ref:`lifetime-and-contextmanagers` for more info."""
|
||||
//|...
|
||||
STATIC mp_obj_t analogio_analogin___exit__(size_t n_args, const mp_obj_t *args) {
|
||||
|
|
|
@ -52,7 +52,6 @@
|
|||
//|dac = analogio.AnalogOut(pin.PA02) # output on pin PA02
|
||||
//|dac.value = 32768 # makes PA02 1.65V"""
|
||||
//|def __init__(self, pin: microcontroller.Pin):
|
||||
//|
|
||||
//|"""Use the AnalogOut on the given pin.
|
||||
//|
|
||||
//|:param ~microcontroller.Pin pin: the pin to output to"""
|
||||
|
|
Loading…
Reference in New Issue