diff options
author | Dave Hylands <dhylands@gmail.com> | 2014-09-28 11:21:13 -0700 |
---|---|---|
committer | Dave Hylands <dhylands@gmail.com> | 2014-09-28 11:24:44 -0700 |
commit | a21f56b2d5c01b90e86453d1e7d38968085b09e0 (patch) | |
tree | 85dd70eb8db0b729ecf75d8daad2cfc927b4a40f /teensy/qstrdefsport.h | |
parent | f90b59e61035c194470b7de589cfc3b44484b1fe (diff) | |
download | micropython-a21f56b2d5c01b90e86453d1e7d38968085b09e0.tar.gz micropython-a21f56b2d5c01b90e86453d1e7d38968085b09e0.zip |
Added pyb.elapsed_millis and pyb.elapsed_micros
tested using:
stmhal: https://github.com/dhylands/upy-examples/blob/master/elapsed.py
teensy: https://github.com/dhylands/upy-examples/blob/master/teensy/elapsed.py
Diffstat (limited to 'teensy/qstrdefsport.h')
-rw-r--r-- | teensy/qstrdefsport.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/teensy/qstrdefsport.h b/teensy/qstrdefsport.h index 202052f6b8..cfcbf7705c 100644 --- a/teensy/qstrdefsport.h +++ b/teensy/qstrdefsport.h @@ -50,6 +50,9 @@ Q(enable_irq) Q(usb_mode) Q(have_cdc) Q(millis) +Q(micros) +Q(elapsed_millis) +Q(elapsed_micros) Q(udelay) Q(UART) |