Search found 13 matches
- Tue Jul 23, 2019 7:57 pm
- Forum: MicroPython pyboard
- Topic: How to use DAC mode normal?
- Replies: 6
- Views: 3916
How to use DAC mode normal?
I am trying to output a block wave of given frequency and duration on pin x6 (DAC 2). I can use the following to get output on pin x6. However, this seems to run forever. dac.write_timed(buffer, 20, mode=DAC.CIRCULAR) I was hoping I could use the following code to send a predefined signal (in buffer...
- Sun Mar 31, 2019 9:02 pm
- Forum: MicroPython pyboard
- Topic: How many adc pins can I use?
- Replies: 1
- Views: 1711
How many adc pins can I use?
The documentation says the pyboard has 3x12 bit adc. Does this mean I can only use up to 3 pins to get analog input on the pyboard (instead of 16)?
- Sun Sep 02, 2018 8:45 pm
- Forum: MicroPython pyboard
- Topic: Sending large array of numbers to host computer
- Replies: 7
- Views: 33801
Sending large array of numbers to host computer
I use the Pyboard's ADC's to fill up an array with 7500 unsigned short integers. Now I want to send the data to the host computer. At the side of the Pyboard I'm using port = pyb.USB_VCP() port.send(data) or port = pyb.USB_VCP() port.write(data) I am having (at least two problems): 1) the data gets ...