mirror of
https://github.com/eddyem/stm32samples.git
synced 2026-03-22 01:31:21 +03:00
change pl2303 snippet (add decimal input)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* This file is part of the pl2303 project.
|
||||
* This file is part of the si7005 project.
|
||||
* Copyright 2020 Edward V. Emelianov <edward.emelianoff@gmail.com>.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
@@ -19,6 +19,13 @@
|
||||
#ifndef PROTO_H__
|
||||
#define PROTO_H__
|
||||
|
||||
#include <stm32f1.h>
|
||||
|
||||
const char *parse_cmd(const char *buf);
|
||||
void printu(uint32_t val);
|
||||
void printuhex(uint32_t val);
|
||||
char *omit_spaces(const char *buf);
|
||||
char *getnum(const char *buf, uint32_t *N);
|
||||
char *u2str(uint32_t val);
|
||||
|
||||
#endif // PROTO_H__
|
||||
|
||||
Reference in New Issue
Block a user