From d80c8f1ca8fc25fdda2f025542f9dac0b8aa25c9 Mon Sep 17 00:00:00 2001 From: MacRsh Date: Thu, 18 Jan 2024 15:53:23 +0800 Subject: [PATCH] =?UTF-8?q?1.=E7=A7=BB=E9=99=A4PIN=E8=AE=BE=E5=A4=87?= =?UTF-8?q?=E7=94=B5=E5=B9=B3=E5=AE=8F=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- README_EN.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 973778a..7b517a9 100644 --- a/README.md +++ b/README.md @@ -229,9 +229,9 @@ int main(void) while(1) { /* 点亮LED */ - mr_dev_write(ds, MR_MAKE_LOCAL(uint8_t, MR_PIN_HIGH_LEVEL), sizeof(uint8_t)); + mr_dev_write(ds, MR_MAKE_LOCAL(uint8_t, 1), sizeof(uint8_t)); mr_delay_ms(500); - mr_dev_write(ds, MR_MAKE_LOCAL(uint8_t, MR_PIN_LOW_LEVEL), sizeof(uint8_t)); + mr_dev_write(ds, MR_MAKE_LOCAL(uint8_t, 0), sizeof(uint8_t)); mr_delay_ms(500); } } diff --git a/README_EN.md b/README_EN.md index ee09db8..52cc585 100644 --- a/README_EN.md +++ b/README_EN.md @@ -248,9 +248,9 @@ int main(void) while(1) { /* Light up the LED */ - mr_dev_write(ds, MR_MAKE_LOCAL(uint8_t, MR_PIN_HIGH_LEVEL), sizeof(uint8_t)); + mr_dev_write(ds, MR_MAKE_LOCAL(uint8_t, 1), sizeof(uint8_t)); mr_delay_ms(500); - mr_dev_write(ds, MR_MAKE_LOCAL(uint8_t, MR_PIN_LOW_LEVEL), sizeof(uint8_t)); + mr_dev_write(ds, MR_MAKE_LOCAL(uint8_t, 0), sizeof(uint8_t)); mr_delay_ms(500); } }