Skip to content
Snippets Groups Projects
Select Git revision
  • 0d8be9c38bcb79376cde682af9b55d94c6806b91
  • master default protected
  • bhi160-sensors
  • sensible-stream-api
  • add_menu_vibration
  • blinkisync-as-preload
  • schleicher-test
  • freertos-btle
  • dualcore
  • v1.10
  • v1.9
  • v1.8
  • v1.7
  • v1.6
  • v1.5
  • v1.4
  • v1.3
  • v1.2
  • v1.1
  • v1.0
  • release-1
  • bootloader-v1
  • v0.0
23 results

qstrdefs.h

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)