forked from XxLittleCxX/lkick-io4
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stdinclude.h
49 lines (39 loc) · 1016 Bytes
/
stdinclude.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
//
// Created by i on 2022/4/13.
//
#ifndef LKICK_STDINCLUDE_H
#define LKICK_STDINCLUDE_H
#include <cstdio>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "bsp/board.h"
#include "hardware/uart.h"
#include "pico/stdlib.h"
#include <ctype.h>
#include "tusb.h"
#include "FreeRTOS.h"
#include "task.h"
#include "io4_usb.h"
#include "ongeki_hardware.h"
#include "led_board.h"
#include "comio.h"
#include "serial.h"
#include "aime_reader.h"
#include "hardware/i2c.h"
#include <PicoLed.hpp>
#define USBD_STACK_SIZE (3*configMINIMAL_STACK_SIZE/2) * (CFG_TUSB_DEBUG ? 2 : 1)
#include "hardware/flash.h"
#include "config.h"
#define LEVER_PIN 28
#define ONBOARD_RGB_PIN 16 // waveshare rp2040-zero
#define LSIDE_RGB_PIN 15
#define RSIDE_RGB_PIN 9
//#define LED_PIN 11
#define CARD_LIGHT_PIN ONBOARD_RGB_PIN
#define UART_TX_PIN 0
#define UART_RX_PIN 1
#define UART_ID uart0
#define BAUD_RATE 115200
#endif //LKICK_STDINCLUDE_H