From 73177bd79292de0ea9155fed358fbcd9d6385385 Mon Sep 17 00:00:00 2001 From: xyj <10908227994@qq.com> Date: Mon, 25 Dec 2023 13:24:25 +0800 Subject: [PATCH] update --- bord_test.py | 14 -------------- test_micropyhon.py | 1 + 2 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 bord_test.py create mode 100644 test_micropyhon.py diff --git a/bord_test.py b/bord_test.py deleted file mode 100644 index bc62812..0000000 --- a/bord_test.py +++ /dev/null @@ -1,14 +0,0 @@ -import board -print(board.CS1) -from digitalio import DigitalInOut, Direction -if __name__ == '__main__': - try: - print(digitalio) - # 构建LED对象和初始化 - led = DigitalInOut(board) # 定义引脚编号 - led.direction = Direction.OUTPUT # IO为输出 - led.value = 0 # 输出低电平,熄灭板载LED蓝灯 - print("已经熄灭") - except Exception as e: - print(e) - pass \ No newline at end of file diff --git a/test_micropyhon.py b/test_micropyhon.py new file mode 100644 index 0000000..9634f3b --- /dev/null +++ b/test_micropyhon.py @@ -0,0 +1 @@ +print(help('modules')) \ No newline at end of file