|
discoverpixy
|
#include "screen_pixytest.h"#include "button.h"#include "numupdown.h"#include "tft.h"#include "touch.h"#include "pixy.h"#include "system.h"#include "pixy_helper.h"
Macros | |
| #define | SERVO_BUTTON_Y 10 |
| #define | SERVO_BUTTON_SPACING 5 |
| #define | LED_COLOR_BUTTON_Y 35 |
| #define | LED_COLOR_BUTTON_SPACING 5 |
| #define | LED_POWER_BUTTON_Y 70 |
Enumerations | |
| enum | { detecting, idle, update_servos, update_ledcolor, update_ledcurrent } |
Functions | |
| static void | b_back_cb (void *button) |
| static void | b_servos_center_cb (void *button) |
| static void | b_servos_topleft_cb (void *button) |
| static void | b_servos_topright_cb (void *button) |
| static void | b_servos_bottomleft_cb (void *button) |
| static void | b_servos_bottomright_cb (void *button) |
| static void | b_led_off_cb (void *button) |
| static void | b_led_white_cb (void *button) |
| static void | b_led_red_cb (void *button) |
| static void | b_led_green_cb (void *button) |
| static void | b_led_blue_cb (void *button) |
| static void | n_led_powerlimit_cb (void *numupdown, int16_t value) |
| static void | enter (void *screen) |
| static void | leave (void *screen) |
| static void | update (void *screen) |
| SCREEN_STRUCT * | get_screen_pixytest () |
Variables | |
| static enum { ... } | state |
| static BUTTON_STRUCT | b_back |
| static BUTTON_STRUCT | b_servos_center |
| static BUTTON_STRUCT | b_servos_topleft |
| static BUTTON_STRUCT | b_servos_topright |
| static BUTTON_STRUCT | b_servos_bottomleft |
| static BUTTON_STRUCT | b_servos_bottomright |
| static uint16_t | servo_x |
| static uint16_t | servo_y |
| static BUTTON_STRUCT | b_led_off |
| static BUTTON_STRUCT | b_led_white |
| static BUTTON_STRUCT | b_led_red |
| static BUTTON_STRUCT | b_led_green |
| static BUTTON_STRUCT | b_led_blue |
| static uint32_t | led_color |
| static uint32_t | led_maxcurrent |
| static NUMUPDOWN_STRUCT | n_led_powerlimit |
| static SCREEN_STRUCT | screen |
| #define LED_COLOR_BUTTON_SPACING 5 |
| #define LED_COLOR_BUTTON_Y 35 |
| #define LED_POWER_BUTTON_Y 70 |
| #define SERVO_BUTTON_SPACING 5 |
| #define SERVO_BUTTON_Y 10 |
|
static |


|
static |

|
static |

|
static |

|
static |

|
static |

|
static |

|
static |

|
static |

|
static |

|
static |

|
static |

|
static |

|
static |

|
static |

|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| enum { ... } state |
1.8.9.1