Add serial_read()/serial_write() which have different implementations on MinGW/Windows. Add some more error code handling and documentation.
* Both Analog and Logic capture works. * Analog values are raw ADC, still useless. * Triggers aren't implemented. * Pattern Generator not implemented. * Everything is broken. :)