I’m a new in programming on .net gadgeteers.
I’ve the FEZ Spider 1.0 Board and some Modules like the BreadBoard_X1.
I was looking for, how to use the BreadBoard Module.
I Use VisualStudio 2012 and I was reading some documentations e.g. Emulating a Button Module.
Its works fine, but I dont want to emulate a module, I want to use the Breadboard Pins.
I tried few Code examples e.g. documentations of DigitalOutput and from posts of this forum.
I want to use the Button and all 4 LED’s, maybe later more pins for external leds or something else. If I send an interrupt, here with the button, I want to activate some leds. (Its only a short description, what I want to do)
Could you help me, how I can use the individual Pins?
I tried to use the breadBoard_X1.SetupDigitalOutput(…) function and similar the AnalogInput for the button, but nothing helps it does not works.
I have no code at this time, because I tried to many things and I overwritten the old one.
to complete the handler definition, and to create the handler stub.
Then add the code you want in the stub. In your case it’ll involve LED1 and LED2 although you’ll need to move those object’s definitions outside the ProgramStarted() (within the public partial class Program() )