I have purchased the Xplained Mini for the subject device and wish to develop a project in Studio 7 that will monitor a voltage on an input pin and switch an output based on upper and lower voltages (hysteresis) so that I can ultimately switch a load on and off with a FET. I have successfully installed Studio 7. I am brand new to Atmel microcontrollers and the associated development environment and my "C" programming skills are pretty limited. I was wondering if someone can help me get started with perhaps some code example(s) or point me to a reference that has pretty basic instructions. My initial guess for the best approach would be to use an ADC or AC monitor to accomplish the functionality. I don't have the board yet but it is on the way.