Functional prototype!
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
//
|
||||
// Created by nano on 9/16/26.
|
||||
//
|
||||
|
||||
#ifndef MCU_CODE_LP_UART_SERIAL_H
|
||||
#define MCU_CODE_LP_UART_SERIAL_H
|
||||
#include "lp_uart_serial.h"
|
||||
#include "uart_serial.h"
|
||||
|
||||
|
||||
class lp_uart_serial : public uart_serial {
|
||||
public:
|
||||
lp_uart_serial(const gpio_num_t tx = GPIO_NUM_NC,
|
||||
const gpio_num_t rx = GPIO_NUM_NC,
|
||||
int baudrate = 9600
|
||||
) : uart_serial(LP_UART_NUM_0,tx,rx,baudrate) {
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
#endif //MCU_CODE_LP_UART_SERIAL_H
|
||||
Reference in New Issue
Block a user