RBCX
Library for the RB3204-RBCX board with the ESP32 by RoboticsBrno.
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
rb::Piezo Class Reference

Helper class for controlling the piezo. More...

#include <RBCXPiezo.h>

Public Member Functions

void start ()
 Starts the piezo. More...
 
void stop ()
 Stops the piezo. More...
 
void setState (bool on)
 Sets the piezo state (on/off). More...
 

Friends

class Manager
 

Detailed Description

Helper class for controlling the piezo.

Member Function Documentation

◆ setState()

void rb::Piezo::setState ( bool  on)

Sets the piezo state (on/off).

◆ start()

void rb::Piezo::start ( )
inline

Starts the piezo.

◆ stop()

void rb::Piezo::stop ( )
inline

Stops the piezo.

Friends And Related Function Documentation

◆ Manager

friend class Manager
friend

The documentation for this class was generated from the following files: