文章
蓝蓝的天 2024-6-23 08:59
改进的软件串口接收子程序
代码; stduart.c /* 《AVR专题精选》随书例程 3.通信接口使用技巧 项目:改进的延时法实现半双工软件串口 文件:sfuart.c 说明:软件 ...
蓝蓝的天 2024-6-22 06:53
destroy信号演示
代码; # include # include # include # include void destroy (GtkWidget *button, gpointer data) { gtk_wi ...
蓝蓝的天 2024-6-21 20:30
容器之固定容器构件演示
代码: # include # include # include # include int main ( int argc, char *argv[]) { gtk_init (&argc, ...
蓝蓝的天 2024-6-21 19:51
界面的宽度与高度
代码: # include # include # include static void set_label (GtkWidget *window) { char citem ; sprintf (ci ...
蓝蓝的天 2024-6-20 14:39
菜单构件
代码; # include # include # include GtkWidget * create_menu4 ( void ) { GtkWidget *menu4; GtkWidget *copy1; GtkWid ...
蓝蓝的天 2024-6-20 13:46
常用界面构建创建文件夹对话框
代码; # include int main ( int argc, char *argv[]) { GtkWidget *dialog; gchar *filename; gint result; gtk_init ( ...
蓝蓝的天 2024-6-19 10:04
使用内部基准计算电池电压
代码; hardware.c /* 《AVR专题精选》随书例程 2.编程技巧 项目:通过内部基准计算VCC电压 文件:hardware.c 说明:硬件接口函数。 ...
蓝蓝的天 2024-6-18 13:06
CRC校验计算方法的比较
代码: crc_modem_calc1.c /* 《AVR专题精选》随书例程 2.编程技巧 项目:crc_xmodem 文件:crc_modem_calc1.c 说明:几种CRC-XMODEM ...
蓝蓝的天 2024-6-17 10:54
AVR单片机宏的例子
代码 micromcu.h /* Project: File: macromcu.h Description: IO macro for AVR mcu and avrgcc compiler. Use these macr ...
蓝蓝的天 2024-6-16 19:20
连接SQLite数据库
代码: # include // 包含SQLite接口函数 # include sqlite3 *db = NULL ; // 定义一个全局的数据库标识符 int op ...
蓝蓝的天 2024-6-16 10:11
ATMEGA16批量读写24C256
代码: # include # include # include typedef unsigned char uchar; typedef unsigned int uint; # define EE ...
蓝蓝的天 2024-6-15 21:18
数据库连接函数
代码; # include # include # include // 包含libpq函数库 static void exit_nicely (PGconn *conn) // 该函数用于 ...
蓝蓝的天 2024-6-15 18:58
使用libESMTP函数库实现电子邮件的发送
代码: # define _XOPEN_SOURCE // 定义系统环境,使符合X/Open标准 # include # include # include # include # i ...
蓝蓝的天 2024-6-15 07:52
ubuntu使用数据文件
代码: # include # include # include # include // 提供open()函数 # include // 提供mode_ ...
蓝蓝的天 2024-6-14 21:23
ubuntu套接字通信
代码; server.c: # include # include // 包含套接字函数库 # include # include // 包含AF_INET相关结 ...
关闭 站长推荐上一条 /2 下一条