You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
158 B
9 lines
158 B
11 years ago
|
dac = pyb.DAC(1)
|
||
|
print(dac)
|
||
|
dac.noise(100)
|
||
|
dac.triangle(100)
|
||
|
dac.write(0)
|
||
|
dac.write_timed(bytearray(10), 100, mode=pyb.DAC.NORMAL)
|
||
|
pyb.delay(20)
|
||
|
dac.write(0)
|