Writing Bytes (in Hex) to USB with Pico?
Re: Writing Bytes (in Hex) to USB with Pico?
Re: Writing Bytes (in Hex) to USB with Pico?
Pipe Handle: 0xa34bc70 (Endpoint Address: 0x81)
Get 0x8 bytes from the device
04 00 0F 80 80 80 80 00 ...€€€€.
Pipe Handle: 0x14615c80 (Endpoint Address: 0x84)
Get 0x7 bytes from the device
04 04 00 00 00 00 00 .......
Re: Writing Bytes (in Hex) to USB with Pico?
Re: Writing Bytes (in Hex) to USB with Pico?
Re: Writing Bytes (in Hex) to USB with Pico?
Re: Writing Bytes (in Hex) to USB with Pico?
geekinchief wrote:So, since send_report seems like it has to send a device code as a prefix (which Switch doesn't want), I'm wondering if there's a way to just write whatever hex codes I want to USB in CP.
geekinchief wrote:In MicroPython, I found a way to do this and it is:
sys.stdout.buffer.write(BYTEBUFFER)
Is there an equivalent in CP? I can't find one.
Re: Writing Bytes (in Hex) to USB with Pico?
Re: Writing Bytes (in Hex) to USB with Pico?