uploadmycode
Teacher
Ready

Your libraries

Libraries you added yourself. They stay in this browser and are sent with every compile. Add a library's .zip (the green Code β†’ Download ZIP button on GitHub), or its .h and .cpp files.

    How to code

    1. Write your sketch. Pick a sketch from the Sketch list, or File β†’ New sketch. It saves itself in this browser as you type. File β†’ Download .ino file keeps a copy.
    2. Compile. Press Compile (or Ctrl+Enter). The first time, type the class phrase from the board. Errors show in Output: click one to jump to that line.
    3. Plug in the board (Arduino UNO, or ESP32 if your teacher switched it on) with its USB cable. An ESP32 that will not connect: hold its BOOT button while you press Upload.
    4. Upload. Press Upload. The first time, pick the board in the window that opens and press Connect.
    5. Watch it run. Open the Serial monitor at the bottom to see what your sketch prints. Set the baud rate to match Serial.begin(). πŸ“ˆ Plot draws the numbers as a graph.

    Handy keys

    CompileCtrl+Enter
    Find & replaceCtrl+F, then F3 for the next one
    Undo / redoCtrl+Z Β· Ctrl+Y
    Tidy the spacingAuto indent (Undo puts it back)
    Add a libraryPick it from the library list. It adds the #include line. Not in the list? Add your own library takes its .zip. What a library does: πŸ“– Reference.

    Upload trouble

    • Board not in the list? Try another USB cable or port. Some cables only charge.
    • Close any other tab that is using the board.
    • Upload is greyed out? Compile first. It only uploads what is on screen right now.

    Your sketches stay in this browser. A sketch is sent to the server only to compile, then deleted. Privacy & legal

    Reference

    Where to read about the commands and libraries you can use here. Links open in a new tab.

      UNO libraries

        Libraries you upload yourself: look at where you downloaded them.

        About uploadmycode

        uploadmycode lets you write code for an Arduino UNO, or an ESP32 when your teacher turns it on, and upload it right from Chrome. Nothing to install and no account: your code is compiled online, then sent to the board through a USB cable. It is built for classroom Chromebooks.

        Made by Dalton Fowler. Privacy & legal

        Output

        Click Compile to check your sketch.

        Serial Monitor

        Not connected