|
Post by heydiho on May 8, 2020 14:29:50 GMT
Hi, the manual mentions i2c and UART ports, but there is little info about how to actually send signals to the pins from the Tauon OS. Could we have some quick pointers please?
|
|
|
Post by Admin on May 8, 2020 18:13:25 GMT
hello, UART port is available as /dev/ttyS0 or /dev/ttyS1 on your system. Just connect the device to the pins on the board and you can freely read/write to it by usual Linux commands. as for I2C, it requires driver which is not ready yet. However, if you would like to go deeper I can share IR driver source code so you can modify it to use pins that usually serve for IR communication for the purpose.
|
|
|
Post by heydiho on May 9, 2020 16:57:31 GMT
hello, UART port is available as /dev/ttyS0 or /dev/ttyS1 on your system. Just connect the device to the pins on the board and you can freely read/write to it by usual Linux commands. as for I2C, it requires driver which is not ready yet. However, if you would like to go deeper I can share IR driver source code so you can modify it to use pins that usually serve for IR communication for the purpose. Thank you, that would be great. The joy of this machine is that it is open, I would like to try playing with the driver code. Will you post it to the DL section?
|
|
|
Post by Admin on May 9, 2020 17:49:18 GMT
yes, I will leave the link here when done.
|
|
|
Post by chris27940 on May 13, 2020 14:55:52 GMT
Hi, i'm interrested by also. Do you think we can access those ports in basic or pascal programs ?
|
|
Agrax
New Member
Posts: 5
|
Post by Agrax on May 20, 2020 7:50:39 GMT
So time to mod it with a tiny TTL to RS232 board with adding a standard 9-pin connector. I am looking forward to see I2C also available soon.
|
|
|
Post by chris27940 on Jun 7, 2020 15:31:52 GMT
How will be possible to acced i2c port ? It will be possible to use-it by basic or another language ?
|
|
|
Post by Admin on Jun 11, 2020 14:45:56 GMT
hello, i2c port would be available at some point in the future. hopefully, It would be accessible as any other device in Linux - as a file. Sharing only IR driver code wouldn't help a lot, as to compile it you need to build the whole SDK. If you really want to go this deep let me know and I will share whole firmware as an archive.
At this point, the best option for you to use I2C is to connect Arduino through UART port and forward traffic to I2C device. You can write to UART port with usual file read/write commands to /dev/ttySX
|
|