test/renesas-ra: Remove unsupported feature test of Pin.
Signed-off-by: Takeo Takahashi <takeo.takahashi.xv@renesas.com>
This commit is contained in:
parent
dd83f48fb2
commit
19c680ff57
|
@ -17,14 +17,6 @@ else:
|
||||||
print("exp: " + try_s)
|
print("exp: " + try_s)
|
||||||
print("out: " + str(p))
|
print("out: " + str(p))
|
||||||
|
|
||||||
p = Pin("SW1", Pin.IN, Pin.PULL_UP)
|
|
||||||
if p.mode() != 1:
|
|
||||||
print("mode: NG")
|
|
||||||
p = Pin("SW1", Pin.IN, pull=Pin.PULL_UP)
|
|
||||||
if p.pull() != 14:
|
|
||||||
print("pull: NG")
|
|
||||||
p = Pin("SW1", mode=Pin.IN, pull=Pin.PULL_UP)
|
|
||||||
|
|
||||||
p.init(p.IN, p.PULL_UP)
|
p.init(p.IN, p.PULL_UP)
|
||||||
p.init(p.IN, pull=p.PULL_UP)
|
p.init(p.IN, pull=p.PULL_UP)
|
||||||
p.init(mode=p.IN, pull=p.PULL_UP)
|
p.init(mode=p.IN, pull=p.PULL_UP)
|
||||||
|
|
Loading…
Reference in New Issue