I’m probably doing something quite dumb, but I’ve been away from my Cerberus board for a long while and just getting back into it now.
First, I’ve taken the code posted here at
and gotten it to work quite nicely. Next, I thought I’d throw the HD44780 based LCD module on, and I copied the driver provided by GHI into its own .cs file and included in the project.
For some reason, the first line in the constructor:
Socket socket = Socket.GetSocket(socketNumber, true, null , null);
throws an invalid socket exception, no matter what socket I try to use!
My project’s properties have the target hardwaare set to Cerb-family_gadgeteer, and it builds and runs fine as a web server. Just adding this little extra code to support the display ain’t cutting it.
Is there anything obvious I am missing here? It’s been quite frustrating, any help would be greatly appreciated!
Thanks in advance