代码搜索:GetKey
找到约 2,187 项符合「GetKey」的源代码
代码结果 2,187
www.eeworm.com/read/219315/14888559
h console.h
#ifndef __CONSOLE_H
#define __CONSOLE_H
#define CONSOLE_UART 0
void console_init(int baud);
void putch(char data);
int getch(void);
int getkey(void);
int kbhit(void);
void puts(char *str);
www.eeworm.com/read/116109/14988257
h console.h
#ifndef __CONSOLE_H
#define __CONSOLE_H
#define CONSOLE_UART 0
void console_init(int baud);
void putch(char data);
int getch(void);
int getkey(void);
int kbhit(void);
void puts(char *str);
www.eeworm.com/read/113983/15119279
h console.h
#ifndef __CONSOLE_H
#define __CONSOLE_H
#define CONSOLE_UART 0
void console_init(int baud);
void putch(char data);
int getch(void);
int getkey(void);
int kbhit(void);
void puts(char *str);
www.eeworm.com/read/15862/553963
c main.c
#include "stm32f10x_lib.h"
#include "uet_gpio.h"
#include "stdio.h"
extern void SetupClock(void);
extern void SetupGPIO(void);
extern void SetupUSART(void);
extern int GetKey (void);
extern i
www.eeworm.com/read/490293/1206161
h console.h
#ifndef __CONSOLE_H
#define __CONSOLE_H
#define CONSOLE_UART 0
void console_init(int baud);
void putch(char data);
int getch(void);
int getkey(void);
int kbhit(void);
void puts(char *str);
www.eeworm.com/read/465929/1515663
h console.h
#ifndef __CONSOLE_H
#define __CONSOLE_H
#define CONSOLE_UART 0
void console_init(int baud);
void putch(char data);
int getch(void);
int getkey(void);
int kbhit(void);
void puts(char *str);
www.eeworm.com/read/465929/1515765
h console.h
#ifndef __CONSOLE_H
#define __CONSOLE_H
#define CONSOLE_UART 0
void console_init(int baud);
void putch(char data);
int getch(void);
int getkey(void);
int kbhit(void);
void puts(char *str);
www.eeworm.com/read/459741/1565989
h console.h
#ifndef __CONSOLE_H
#define __CONSOLE_H
#define CONSOLE_UART 0
void console_init(int baud);
void putch(char data);
int getch(void);
int getkey(void);
int kbhit(void);
void puts(char *str);
www.eeworm.com/read/455438/1615119
h console.h
#ifndef __CONSOLE_H
#define __CONSOLE_H
#define CONSOLE_UART 0
void console_init(int baud);
void putch(char data);
int getch(void);
int getkey(void);
int kbhit(void);
void puts(char *str);
www.eeworm.com/read/235521/4650949
c get_key.c
#define uchar unsigned char
#define uint unsigned int
#include
uchar GetKey(void)
{ uint i=0;
uchar keybuf=0;
if(P1!=0xff)
{
keybuf=P1;
if(keybuf!=0xff)