• Please be sure to only post your new thread once - somehow we got three copies of this (gordon will remove the extra copies next time he's online).

    Also, you need to include the full URL of the image you're trying to include.

    = undefined

    is shown when you run any command in the console that does not have a return value - this is standard javascript. It doesn't indicate any problem, unless you were expecting it to return something.

    Serial.write() does not include a linebreak. So under most circumstances, you should be able to:

    
    Serial1.write(0x90);
    Serial1.write(0x3D);
    Serial1.write(0x00);
    Serial1.write(0x90);
    Serial1.write(0x3D);
    Serial1.write(0x44);
    
    

    into

    
    Serial1.write([0x90,0x3D,0x00,0x90,0x3D,0x44]);
    
    

    or

    
    Serial1.write("\x90\x3D\x00\x90\x3D\x44");
    
    

    Also, it's Math.round(), not round().

About

Avatar for DrAzzy @DrAzzy started