Functions
serial_example.cc File Reference
#include <string>
#include <iostream>
#include <cstdio>
#include <unistd.h>
#include "serial/serial.h"
Include dependency graph for serial_example.cc:

Go to the source code of this file.

Functions

void enumerate_ports ()
 
int main (int argc, char **argv)
 
void my_sleep (unsigned long milliseconds)
 
void print_usage ()
 
int run (int argc, char **argv)
 

Function Documentation

◆ enumerate_ports()

void enumerate_ports ( )

Definition at line 47 of file serial_example.cc.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 176 of file serial_example.cc.

◆ my_sleep()

void my_sleep ( unsigned long  milliseconds)

Definition at line 39 of file serial_example.cc.

◆ print_usage()

void print_usage ( )

Definition at line 62 of file serial_example.cc.

◆ run()

int run ( int  argc,
char **  argv 
)

Definition at line 68 of file serial_example.cc.



ubiquity_motor
Author(s):
autogenerated on Thu Nov 16 2023 03:30:56