| 57 | |
| 58 | |
| 59 | void pullUpDnControlEx (int GPIO, int GPIOIN, int mode) { |
| 60 | pullUpDnControl (GPIO, mode); |
| 61 | int out = mode==PUD_UP ? 1:0; |
| 62 | printf("in = %4s ", mode==PUD_UP ? "up":"down"); |
| 63 | delayMicroseconds(5000); |
| 64 | CheckGPIO(GPIO, GPIOIN, out); |
| 65 | } |
| 66 | |
| 67 | |
| 68 | void CheckSameText(const char* msg, const char* value, const char* expect) { |
no test coverage detected