| 點擊/回復 | 標題 | 最後回復 | 發表時間/侃吧 | 
| 934/4 | 本来dhcp_fine_tmr函数该500毫秒就执行一次的 然而sys_check_timeouts函数却一直没有自动调用dhcp_fine_tmr 非要等到周期为1分钟的dhcp_coarse_tmr函数执行了之后才开始执行dhcp_fine_... | 2-29 | 4-5 | 
| 851/0 | 【程序】STM32F103中的RTC时钟精确到毫秒显示时间 #include <stm32f10x.h> uint8_t seg8[] = {0xc0, 0xf9, 0xa4, 0xb0, 0x99, 0x92, 0x82, 0xf8, 0x... | 4-4 | 4-4 | 
| 916/2 | 【实验】用电容器延缓I/O口的电平变化速度 将一个电阻和一个电容串联起来接地。最左边为电阻,电阻的最左端接单片机的PC1口,并设为输出。电阻和电容中间引出一根线,接到PC0口,设为输入。 最初PC1输出低电平,电容上没有电荷,PC0为低电... | 4-4 | 4-4 | 
| 1072/3 | 【程序】lwip-2.0.2通过DNS解析域名 原工程:https://zh.arslanbar.net/post.php?t=24584 首先,打开配置文件lwipopts.h,添加如下三行,开启DNS: #define LWIP_D... | 4-5 | 4-2 | 
| 1942/10 | 【程序】使用数码管显示lwip网页访问的次数 修改前的工程:https://zh.arslanbar.net/post.php?t=24586 【最终效果】 打开网页时,自动把数字加1,并显示数码管上显示的数字。 例如访问网页“... | 4-12 | 4-2 | 
| 1520/18 | 【实验】使用定时器的外部时钟模式对多谐振荡器的性能进行评估 【实验时用到的程序】 #include <stm32f10x.h> const uint8_t seg8[] = {0xc0, 0xf9, 0xa4, 0xb0, 0x99,... | 4-2 | 4-2 | 
| 1500/6 | 【教程】给lwip添加计算机名(NetBIOS名称) 原始工程:https://zh.arslanbar.net/post.php?t=24584 【最终效果】 1.能够在PC端通过设定的计算机名ping通网卡。 2.能在PC端... | 4-1 | 4-1 | 
| 1029/5 | 【数据】在控制台中执行“ping 计算机名”时网卡收到的UDP数据包内容 【命令】 C:\Users\Octopus>ping CAR527 Pinging CAR527 [192.168.1.109] with 32 bytes of data:... | 4-1 | 3-31 | 
| 1306/9 | 【程序】lwip-2.0.2通过DHCP自动从路由器获取IP地址 原始程序: https://zh.arslanbar.net/post.php?t=24571 打开lwipopts.h,把#define LWIP_DHCP 0改成#define LWI... | 4-2 | 3-29 | 
| 964/4 | 目前enc28j60的问题是 可以根据ip地址成功获取到网卡地址,也能成功收到数据包,但非广播数据包发出去就会丢失,电脑无法接收到。 | 3-31 | 3-27 | 
| 1026/0 | 【程序】AVR单片机通过硬件I2C(TWI)读写24C08存储器 #define F_CPU 11059200 #include <avr/interrupt.h> #include <avr/io.h> #include... | 3-26 | 3-26 | 
| 981/4 | 【程序】窗口看门狗WWDG的使用 #include <stm32f10x.h> uint8_t seg8[] = {0xc0, 0xf9, 0xa4, 0xb0, 0x99, 0x92, 0x82, 0xf8, 0x... | 4-12 | 3-24 | 
| 1034/3 | 【程序】独立看门狗IWDG的使用 #include <stm32f10x.h> uint8_t seg8[] = {0xc0, 0xf9, 0xa4, 0xb0, 0x99, 0x92, 0x82, 0xf8, 0x... | 3-24 | 3-24 | 
| 947/5 | 【程序】使用外部32.768kHz晶振作为RTC的时钟源(库函数版) #include <stm32f10x.h> uint8_t seg8[] = {0xc0, 0xf9, 0xa4, 0xb0, 0x99, 0x92, 0x82, 0xf8, 0x... | 3-24 | 3-24 | 
| 925/1 | 【程序】使用内部低速晶振作为RTC的时钟源(库函数版) #include <stm32f10x.h> uint8_t seg8[] = {0xc0, 0xf9, 0xa4, 0xb0, 0x99, 0x92, 0x82, 0xf8, 0x... | 3-24 | 3-24 | 
| 928/0 | 今天晚上写的串口控制的RTC时钟程序 #include <stdio.h> #include <string.h> #include <stm32f10x.h> #define BIT... | 3-22 | 3-22 | 
| 1077/7 | 【程序】在AVR单片机中使用printf函数 #include <avr/io.h> #include <avr/sfr_defs.h> #include <stdio.h> // 芯片型号:... | 3-23 | 3-22 | 
| 924/2 | DHCP出错了 ******21/03/2017 9:05:41 PM****** dhcp_start(netif=20005fe0) en0 dhcp_start(): starting new DH... | 3-31 117.136.63.* | 3-21 | 
| 2002/11 | 【程序移植】STM32F103C8+ENC28J60网卡也能运行lwip协议栈! STM32F103C8的Flash容量是64KB,RAM容量为20KB。这样小的芯片上也能运行lwip协议栈! 移植前的源程序是运行在STM32F103RC芯片上的: https://zh...  | 3-20 | 3-19 | 
| 3768/11 | 【步骤】lwip-2.0.2在STM32F103RC+ENC28J60网卡上无操作系统移植(不使用STM32库函数) 【1】去lwip的官方网站下载最新的lwip-2.0.2.zip 【2】新建空白STM32工程,建工程时一定要在Manage Run-Time Environment对话框里勾选启动文件... | 3-31 | 3-19 | 
| 1000/5 | 【驱动程序】ENC28J60网卡芯片驱动程序(不含lwIP协议栈) 【ENC28J60.h】 #define EIE 0x1b #define EIR 0x1c #define ESTAT 0x1d #define ECON2 0x1e... | 3-19 | 3-18 | 
| 1868/13 | 【程序段】最简单的HTTP请求响应代码 err_t http_recv(void *arg, struct tcp_pcb *tpcb, struct pbuf *p, err_t err) {... | 4-7 | 3-18 | 
| 1025/7 | 【截图】成功的uCOS-II移植  | 3-17 | 3-17 | 
| 832/0 | 在移植uCOS-II时,必须修改启动文件里面的SysTick_Handler和PendSV_Handler 不能单独定义这两个函数的跳转,如 void SysTick_Handler(void) { OS_CPU_SysTickHandler();... | 3-17 | 3-17 | 
| 936/0 | 【应用】使用STM32定时器的Encoder模式驱动数字旋转编码开关 /* 本程序使用的是锐志电子六合一扩展板上的数字旋转编码开关 */ /* 注意:一定要把板子下面的JPBMA和JPBMB跳线插上 */ #include <stm32f10x.h... | 3-15 | 3-15 | 
| 1103/2 | 【程序】1602液晶使用FIFO缓冲区方式显示串口接收到的数据,同时6位数码管显示串口数据的累加和 #include <stdio.h> #include <stm32f10x.h> #define RS_0 (GPIOA->BRR = GPIO_BRR_B... | 3-11 | 3-11 | 
| 740/0 | 今天晚上写的PCF8591的AD转换程序 int fputc(int ch, FILE *fp) { if (fp == &__stdout)... | 3-10 | 3-10 | 
| 1036/4 | 【程序】STM32通过AD转换读取PA6端口上输入的模拟量并在1602液晶上显示转换结果 #include <stdio.h> #include <stm32f10x.h> #define RS_0 (GPIOA->BRR = GPIO_BRR_B... | 3-6 | 3-6 | 
| 1011/0 | 【程序】STM32读取DHT11温湿度传感器的数据并在1602液晶上显示 #include <stdio.h> #include <stm32f10x.h> #define RS_0 (GPIOA->BRR = GPIO_BRR_B... | 3-5 | 3-5 | 
| 1057/2 | 【程序】STM32单片机通过DAC向1602液晶提供对比度电压,不使用外部电位器 /* LCD1602引脚2(VDD)必须接5V电压, 不可以接3.3V电压。其他引脚(包括引脚15-背光电源正)都可以接3.3V电压 */ /* 必须把J-Link设为不供电(更改内部跳线),... | 3-5 | 3-5 | 

