file
serial.hppContains prototypes for the V5 Generic Serial related functions.
Contents
- Reference
This file should not be modified by users, since it gets replaced whenever a kernel upgrade occurs.
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http:/
Namespaces
- namespace pros
- LLEMU Conditional Include
Classes
- class pros::Serial
Functions
-
const pros::
Serial operator""_ser(const unsigned long long int m) - Constructs a Serial device from a litteral ending in _ser.
Function documentation
const pros:: Serial operator""_ser(const unsigned long long int m)
Constructs a Serial device from a litteral ending in _ser.
Returns | a pros:: |
---|
Example
using namespace pros::literals; void opcontrol() { pros::Serial serial = 2_ser; //Makes an Serial device object on port 2 }