Main Site Documentation

How to initialize GHI RS232 Module using Gadgeteer.SocketInterfaces.Serial


#1

I’m using GHI RS232 module in my NETMF 4.3 project and wonder how I can initialize the module using Gadgeteer.SocketInterfaces.Serial?

I need the Gadgeteer.SocketInterfaces version of serial port implementation because I wanted access to NewLine and RaiseLineReceived() event.


#2

you can create a Gadgeteer app and see the main() initialisation. But you’ll need the full Gadgeteer framework to make this work - you can just write your own handler that is possibly more effective, especially if you’re on a resource limited device and have a big app ?