![]() ![]() The ability to share and hack drivers is one of the things that makes Linux so great for hackers. There’s also some discussion of some mods of those boards. There are some other examples, and a look at several inexpensive boards that expose the I/O pins. He got about 2.2 kHz out of the output pin, and although he didn’t say the exact hardware configuration it gives you some idea about the possible speed. Once there though, it is easy to manipulate the pins using a shell script or anything that can write to the virtual files corresponding to the GPIO pins.įor example, he did a speed test that was this simple: #!/bin/bash He had to make a slight mod to the driver to get six GPIOs in /sys/class/gpio. took an out-of-tree driver that exposes the GPIO, and got it working with some frightening-looking CH341 boards. The device actually has RS232, I2C, SPI, and 8 general purpose I/O (GPIO) pins. There’s been support for these chips in Linux for a while, but only for use as a communication port. ![]() ![]() But today there are quite a few to choose from and one of the most common ones is the WCH CH341. There was a time when USB to serial hardware meant one company: FTDI.
0 Comments
Leave a Reply. |