There's nothing wrong with the code (well, nothing syntactically wrong) - that's an upload error; did you select and connect the correct board?
There's nothing wrong with the code (well, nothing syntactically wrong) - that's an upload error; did you select and connect the correct board?