Main Site Documentation

How to make a .NET Gadgeteer module start and work Automatically


#1

is there any way to make a .NET Gadgeteer module start and work Automatically? I mean starting the camera automatically without using a button is it possiable?


#2

Yes.

Take the code you have in the button click event handler and put it in the auto-generated program started method.

I don’t recall if the camera requires any “warm up” time. If so, you may need to delay a little first.

Pete


#3

Yes, the camera needs some warmup time. I would suggest replacing button handler with a timer handler, set up for a single tick, after maybe 5-10 seconds.