uni

Thing1's amazing uni repo
Log | Files | Refs

03.10.25.md (470B)


      1 03/10/25
      2 ========
      3 
      4 Serial
      5 ------
      6 
      7 - The arduino's serial port is on pins 0 and 1, when connected over usb, these ports don't work
      8 - Serial operations with the arduino's Serial class 
      9 
     10 ```
     11 begin(long baudrate) // starts serial at that baudrate
     12 println( (int | String | float) obj ) // prints an obj with a newline
     13 print( (int | String | float) obj ) // prints an obj
     14 parseInt() // reads an int
     15 ```
     16 
     17 Floats
     18 ------
     19 
     20 - `float` and `double` are the same size on the arduino
     21