change pl2303 snippet (add decimal input)

This commit is contained in:
Edward Emelianov
2021-02-09 22:47:26 +03:00
parent ad5e9d5abf
commit bec96d03fa
25 changed files with 1581 additions and 52 deletions

View File

@@ -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__