我已经在我的覆盆子安装Raspbian并加入: 的/etc/rc.local: chown /dev/ttyUSB0 #to allow current user to use 3G modem
的/ etc/sudoers文件: raspbian ALL=NOPASSWD: ALL
而对于自动登录: 1:2345:respawn:/sbin/getty --autologin raspb
我需要在树莓派写UART终端。这个想法是按键盘上的键连接到我的树莓并通过UART发送,然后打印通过UART接收的树莓。 问题是在覆盆子pi回声。我不需要这个,但我不知道如何禁用它。我使用这个功能: int kbhit(void)
{
struct termios oldt, newt;
int ch;
int oldf;
tcgetattr(STDIN_