Using serial on VoCore
Posted: Mon Jun 01, 2015 1:17 pm
Hi,
Sorry for this seemingly simple question, but I'm quite the n00b.
I've bought a mini thermal printer which I want to control using the VoCore (v1.0).
The printer interfaces using a simple serial connection (TTL).
Using an arduino I've already been able to print all sorts of stuff, but I don't know how to do the same on vocore.
Can I connect the tx/rx pins on the printer to the G#16/RXD2 and G#15/TXD2 pins on vocore?
How do I setup the serial connection in code?
Here is an example on arduino of what I want to accomplish on vocore:
http://pastebin.com/YJ1NpyFg
Sorry for this seemingly simple question, but I'm quite the n00b.
I've bought a mini thermal printer which I want to control using the VoCore (v1.0).
The printer interfaces using a simple serial connection (TTL).
Using an arduino I've already been able to print all sorts of stuff, but I don't know how to do the same on vocore.
Can I connect the tx/rx pins on the printer to the G#16/RXD2 and G#15/TXD2 pins on vocore?
How do I setup the serial connection in code?
Here is an example on arduino of what I want to accomplish on vocore:
http://pastebin.com/YJ1NpyFg