gvande...@gmail.com
unread,Dec 5, 2012, 4:03:16 PM12/5/12You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hello,
I have a print based on the netduino. I loaded it with the netduino firmware but now I want to use pins of the uC (AT91SAM7x512) that are not used on the netduino.
I have tried to do this as following:
private const Cpu.Pin GPIO_PIN_PA_6 = (Cpu.Pin)90;
private OutputPort opRS = new OutputPort(GPIO_PIN_PA_6, false);
But when executing the code with the debugger on the hardware, it breaks on the second line with the error:
An unhandled exception of type 'System.ArgumentException' occurred in Microsoft.SPOT.Hardware.dll
Can anyone point me on what I am doing wrong?