I am pretty big newbie when it comes to the FEZ. I have never worked with .NET Micro Framework, and it is a little cumbersome for me. I have been doing C programming on AVRs for a long time, and I am very used to doing things at a very low level. I am more comfortable running with the manufacturer’s datasheet (for the LPC2387) and changing registers as described in there. I have tried for a while to get back to the basics, but I don’t think I can do that just yet. So I am going to work with the FEZ as is for now until I can get more comfortable with it.
I was wondering how does basic digital IO work in C#. In “The Beginner’s Guide to C# and the .NET Micro Framework” there is a line:
OutputPort LED; LED = new OutputPort((Cpu.Pin)4, true);
for making an OUTPUT called LED, and then stating that the LED is on CPU pin 4, and is true. What I am curious about is this: What is (CPU.PIN)4? Does this pertain to the actual pin on the Domino or what? In the schematic for the Domino, pin 4 is disconnected and it is pin 100 that is connected to the LED. It could be that (CPU.PIN)4 is referring to PWM4, which is on pin 100. I would like some clarity,
and, if for instance on my FEZ Mini, I wanted to make TXD1/E5 (pin 74) toggle on and off, how would I do that?