Update The Current Time Every Second Javascript, int sensor in = A1; //analog .