just some logs
rewritten Arduino code, more abstract