Skip to content

Instantly share code, notes, and snippets.

View SysOverdrive's full-sized avatar
♟️
Making Moves

SysOverdrive

♟️
Making Moves
View GitHub Profile
//Write a class called MinMaxPrinter. Using a Scanner, ask the user to enter
//a series of integers and find the maximum and the minimum value.
//Use a loop.
//Do not let bad input (a non-integer) terminate your program with an error.
//When the user enters any non-integer, print the maximum and minimun values
//on separate line and quit.
//If the numbers entered are 5 10 3 8 1, 2 9, the output will be
/*
Controlling a servo position using a potentiometer (variable resistor)
by Michal Rinott <http://people.interaction-ivrea.it/m.rinott>
modified on 8 Nov 2013
by Scott Fitzgerald
http://arduino.cc/en/Tutorial/Knob
*/
// la control la pornire trebe duty cicle sub 6%
/***