| 48 | } |
| 49 | |
| 50 | void 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 | |
| 60 | void delay(unsigned long ms) |
| 61 | { |
no outgoing calls
no test coverage detected