BusBricks: /Users/felixschulke/Developement/Arduino/Modbus_RTU/Modbus_RTU/Modbus-RTU/lib/mockArduino/mockArduino.cpp File Reference
BusBricks  0.1
Customize bus-communication
Loading...
Searching...
No Matches
mockArduino.cpp File Reference
#include "mockArduino.h"
Include dependency graph for mockArduino.cpp:

Namespaces

namespace  arduinoMocking
 Provides mock implementations of Arduino framework functions and classes for native builds.
 

Functions

void arduinoMocking::pinMode (int pin, int mode)
 Simulates the pinMode function for setting pin modes.
 
unsigned long arduinoMocking::millis ()
 Simulates the millis function to get the number of milliseconds since the program started.
 
unsigned long arduinoMocking::micros ()
 Simulates the micros function to get the number of microseconds since the program started.
 

Variables

MockTime arduinoMocking::mockedTimer
 
MockSerial arduinoMocking::Serial
 Global instance of MockSerial to mimic Arduino's Serial object.
 

Detailed Description

Author
Felix Schuelke (flxsc.nosp@m.ode@.nosp@m.gmail.nosp@m..com)
Version
0.1
Date
2024-08-18

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.