After unpacking it, I followed easy instructions on the GHI's support page, after installing VS 2010 Express (at work), and VS 2010 Pro (at home). With minimal guidance, I set up the first project. Plugging in a button and an LED, it took 5-7 mouse clicks and 14 keyboard presses to end up with:
void ProgramStarted() { button.ButtonPressed += new Button.ButtonEventHandler( button_ButtonPressed ); } void button_ButtonPressed( Button sender, Button.ButtonState state ) { led.TurnWhite(); }
F6 to compile. F5 to deploy. 10-20 seconds later, pushing the button turns on the LED! Holy smokes. This is even more amazing stuff than I hoped.
No comments:
Post a Comment