Skip to content
Snippets Groups Projects
Select Git revision
  • bdd77470739bdb23944ac3940184a70c14fbcc95
  • master default protected
  • mh/blecentral
  • patch-2
  • patch-1
  • filenames-blacklist
  • rahix/ble-fix
  • genofire/ble-rewrite
  • koalo/bhi160-works-but-dirty
  • ch3/splashscreen
  • m
  • rahix/simple_menu
  • ios-workarounds
  • koalo/wip/i2c-for-python
  • renze/safe_mode
  • renze/hatchery_apps
  • schneider/fundamental-test
  • koalo/factory-reset
  • msgctl/gfx_rle
  • msgctl/faultscreen
  • msgctl/textbuffer_api
  • v1.2
  • v1.1
  • v1.0
  • release-1
  • bootloader-v1
  • v0.0
27 results

tmr.c

Blame
  • Forked from card10 / firmware
    Source project has a limited visibility.
    qstrdefs.h 755 B
    #include "py/mpconfig.h"
    
    #ifndef Q
    #define Q(x)
    #endif
    
    /* leds */
    Q(leds)
    Q(BOTTOM_LEFT)
    Q(BOTTOM_RIGHT)
    Q(TOP_LEFT)
    Q(TOP_RIGHT)
    
    /* utime */
    Q(utime)
    Q(alarm)
    Q(sleep)
    Q(sleep_ms)
    Q(sleep_us)
    Q(ticks_ms)
    Q(ticks_us)
    Q(ticks_cpu)
    Q(ticks_add)
    Q(ticks_diff)
    Q(localtime)
    Q(mktime)
    Q(time)
    
    /* vibra */
    Q(vibra)
    Q(vibrate)
    
    Q(set_callback)
    Q(enable_callback)
    Q(disable_callback)
    Q(BHI160)
    Q(RTC_ALARM)
    
    /* display */
    Q(sys_display)
    Q(display)
    Q(print)
    Q(pixel)
    Q(line)
    Q(rect)
    Q(circ)
    Q(clear)
    
    /* ambient */
    Q(light_sensor)
    Q(start)
    Q(get_reading)
    Q(stop)
    
    /* file */
    Q(__del__)
    Q(__enter__)
    Q(__exit__)
    Q(close)
    Q(encoding)
    Q(file)
    Q(FileIO)
    Q(flush)
    Q(mode)
    Q(r)
    Q(read)
    Q(readinto)
    Q(readline)
    Q(readlines)
    Q(seek)
    Q(tell)
    Q(TextIOWrapper)
    Q(write)