Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
extmod/machine_signal: Add signal_print() as repr() function.
Test code is: ``` from machine import Pin, Signal signal22= Signal(Pin(22, mode=Pin.OUT)) signal22 signal21= Signal(Pin(21, mode=Pin.IN), invert=True) signal21 ``` Ounput is: ``` Signal(Pin(22)) Signal(Pin(21), invert=True) ``` instead of ``` <Signal> <Signal> ``` Co-Authored-By: Jim Mussared <[email protected]> Signed-off-by: IhorNehrutsa <[email protected]>
- Loading branch information