diff options
author | Damien George <damien.p.george@gmail.com> | 2015-02-13 22:21:44 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-02-13 22:21:44 +0000 |
commit | 87c6250b4c941cbd7e77e42645ee9a330570622d (patch) | |
tree | b2d73f5b36606fedef9e0f5810222f944c7b250c /esp8266/qstrdefsport.h | |
parent | baafb290ada10c7b8ba0b4b31fb4c5ec8282be88 (diff) | |
download | micropython-87c6250b4c941cbd7e77e42645ee9a330570622d.tar.gz micropython-87c6250b4c941cbd7e77e42645ee9a330570622d.zip |
esp8266: Add basic pyb.Pin class; supports output mode only.
Diffstat (limited to 'esp8266/qstrdefsport.h')
-rw-r--r-- | esp8266/qstrdefsport.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/esp8266/qstrdefsport.h b/esp8266/qstrdefsport.h index 692e8233fe..5781b91165 100644 --- a/esp8266/qstrdefsport.h +++ b/esp8266/qstrdefsport.h @@ -46,3 +46,18 @@ Q(connect) Q(disconnect) Q(scan) Q(status) + +// Pin class +Q(Pin) +Q(init) +Q(mode) +Q(pull) +Q(value) +Q(low) +Q(high) +Q(IN) +Q(OUT_PP) +Q(OUT_OD) +Q(PULL_NONE) +Q(PULL_UP) +Q(PULL_DOWN) |