瀏覽代碼

#243 unit test

pull/247/head
mstroh76 6 月之前
父節點
當前提交
4d6a1f7df8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      wiringPi/test/wiringpi_xotest_test1_spi.c

+ 1
- 1
wiringPi/test/wiringpi_xotest_test1_spi.c 查看文件

@@ -108,7 +108,7 @@ int main(int argc, char *argv []){

pinMode(22, OUTPUT);
digitalWriteEx(22, -1, LOW);
checkVoltage(1.55f, "Analog value Half (1H/1L)");
checkVoltage(1.65f, "Analog value Half (1H/1L)");

digitalWriteEx(22, GPIOIn, HIGH);
checkVoltage(3.2f, "Analog value 2xHigh");


Loading…
取消
儲存