rm init()

This commit is contained in:
pikastech 2022-08-29 11:02:32 +08:00
parent 6726169ad9
commit eac4b77272
4 changed files with 0 additions and 4 deletions

View File

@ -4,7 +4,6 @@ import machine
time = machine.Time()
adc1 = machine.ADC()
adc1.init()
adc1.setPin('PA1')
adc1.enable()

View File

@ -5,7 +5,6 @@ mem = PikaStdLib.MemChecker()
io1 = machine.GPIO()
time = machine.Time()
io1.init()
io1.setPin('PA8')
io1.setMode('out')
io1.enable()

View File

@ -3,7 +3,6 @@ import machine
time = machine.Time()
uart = machine.UART()
uart.init()
uart.setId(1)
uart.setBaudRate(115200)
uart.enable()

View File

@ -2,7 +2,6 @@ from PikaObj import *
import PikaStdLib
import machine
pin = machine.GPIO()
pin.init()
pin.setPin('PA0')
pin.setMode('in')
pin.setPull('down')