I am trying to store data in a file, and would like to be able to write a series of bytes to it. However, using createWriter() and the print() method, it converts the bytes into ASCII (so rather than writing 0xAA to the file, it writes 0x31, 0x37, 0x30 - or '170' in ASCII). I'd be grateful if someone could tell me a way to write the raw data out rather than have it converted!
I'm pretty new to Processing so please bear with me! I am trying to set up a serial port to run at 625000bps, but when I test it, it appears that it is actually running at 9600bps! I am using an oscilloscope to verify the speed, and have found that multiples of a standard baud rate work (115200, 230400, 460800 and 921600bps), but setting to something in between does not! Is this a know issue, and if so is there a workaround?