changed the code and upload the Arduino sketch that can be direclty imported