MCPcopy Create free account
hub / github.com/PolySync/oscc / analogWrite

Function analogWrite

firmware/common/testing/mocks/Arduino_mock.cpp:50–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50void analogWrite(uint8_t pin, int val)
51{
52 g_mock_arduino_analog_write_pins[g_mock_arduino_analog_write_count] = pin;
53 g_mock_arduino_analog_write_val[g_mock_arduino_analog_write_count] = val;
54
55 // need to keep track of successive calls to analogWrite to be able to check
56 // all of their respective values
57 ++g_mock_arduino_analog_write_count;
58}
59
60void delay(unsigned long ms)
61{

Callers 4

master_cylinder_openFunction · 0.85
master_cylinder_closeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected