Edited serialIn, made reset asynch