Skip to content
Snippets Groups Projects
Select Git revision
  • a397a4a059a30cf6f5d2bcac7985660a1e7ac1d4
  • main default protected
  • rahix/big-flow3r
  • fpletz/flake
  • sampler_fix
  • pippin/media_framework
  • release/1.2.0
  • release/1.1.1
  • release/1.1.0
  • sec/auto-nick
  • rahix/flow3rseeds
  • compressor
  • sec/blinky
  • pippin/uhm_flash_access_bust
  • release/1.0.0
  • fm_fix2
  • fm_fix
  • pippin/make_empty_drawlists_skip_render_and_blit
  • pressable_bugfix
  • moon2_gay_drums
  • moon2_applications
  • 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
33 results

machine.pyi

Blame
  • Forked from flow3r / flow3r firmware
    Source project has a limited visibility.
    api.h 482 B
    #ifndef _API_H
    #define _API_H
    #include <stdint.h>
    
    #ifndef API
    #  define API(id, def) def
    #endif
    
    #define API_BUZZER 0x35c3
    API(API_BUZZER, void api_set_buzzer(uint8_t state));
    
    typedef struct {
        uint8_t red;
        uint8_t green;
        uint8_t blue;
    } led_color_t;
    
    #define API_LED 0xc0ffee
    API(API_LED, void api_set_led(uint8_t led, led_color_t color));
    
    #define API_TEST 0xdeadc0de
    API(API_TEST, void api_test(char test0, short test1, int test2, long test3));
    
    #endif /* _API_H */