Skip to content
Snippets Groups Projects
Select Git revision
  • 6f08f8ce51adf06aa64743faa713c6b7a7c2db9a
  • main default protected
  • phhw
  • captouch-threshold
  • t
  • dos
  • test2
  • test
  • slewtest
  • simtest
  • view-think
  • vm-pending
  • media-buf
  • scope
  • passthrough
  • wave
  • vsync
  • dos-main-patch-50543
  • json-error
  • rahix/big-flow3r
  • pippin/media_framework
  • v1.3.0
  • v1.2.0
  • v1.2.0+rc1
  • v1.1.1
  • v1.1.0
  • v1.1.0+rc1
  • v1.0.0
  • v1.0.0+rc6
  • v1.0.0+rc5
  • v1.0.0+rc4
  • v1.0.0+rc3
  • v1.0.0+rc2
  • v1.0.0+rc1
34 results

runtime.c

Blame
  • Forked from flow3r / flow3r firmware
    Source project has a limited visibility.
    led.h 494 B
    typedef enum {
        // PYBv3
        PYB_LED_R1 = 1,
        PYB_LED_R2 = 2,
        PYB_LED_G1 = 3,
        PYB_LED_G2 = 4,
        // PYBv4
        PYB_LED_RED = 1,
        PYB_LED_GREEN = 2,
        PYB_LED_YELLOW = 3,
        PYB_LED_BLUE = 4,
        //STM32F4DISC
        PYB_LED_R = 1,
        PYB_LED_G = 2,
        PYB_LED_B = 3,
        PYB_LED_O = 4,
    } pyb_led_t;
    
    void led_init(void);
    void led_state(pyb_led_t led, int state);
    void led_toggle(pyb_led_t led);
    void led_debug(int value, int delay);
    
    extern const mp_obj_type_t pyb_led_type;