|
【PLL到HSI】 // 假設HSI已經打開 RCC->CFGR &= ~RCC_CFGR_SW; // 系統時鐘切換到HSI RCC->CR &= ~(... |
|
#include <string.h> #include "lwip/tcp.h" err_t http_recv(void *arg, struct tcp_pcb *tpc... |
|
【單片機端程序】 #include <string.h> #include "lwip/udp.h" void recvtest(void *arg, struct ud... |
|
原工程:https://zh.arslanbar.net/post.php?t=24589 【1】首先按照下面的五角星處的提示修改main.c文件中的代碼: #include <st...
巨大八爪鱼 4-5 ----
(点击/回复: 1202/3) |
|
原工程:https://zh.arslanbar.net/post.php?t=24584 首先,打開配置文件lwipopts.h,添加如下三行,開啟DNS: #define LWIP_D... |
|
#include <stm32f10x.h> uint8_t seg8[] = {0xc0, 0xf9, 0xa4, 0xb0, 0x99, 0x92, 0x82, 0xf8, 0x... |
|
電路板: 三極體全部都是9012的。左邊的74HC595是決定一橫排的顯示內容,右邊的74HC595則是決定顯示哪一橫排。 左上角的按鍵是RESET鍵,最下面的按鍵是暫停鍵(程序中是K1)...  |
|
將一個電阻和一個電容串聯起來接地。最左邊為電阻,電阻的最左端接單片機的PC1口,並設為輸出。電阻和電容中間引出一根線,接到PC0口,設為輸入。 最初PC1輸出低電平,電容上沒有電荷,PC0為低電... |
|
例如,當SCLK=0時DIN=1,SCLK=1時DIN=0,則存入的數據是0而不是1。如果要想存儲低電平時的數據,必須再串聯一個上升沿觸發的D觸發器。
117.136.70.* 4-4 117.136.63.*
(点击/回复: 448/4) |
|
原始程序: https://zh.arslanbar.net/post.php?t=24571 打開lwipopts.h,把#define LWIP_DHCP 0改成#define LWI... |
|
【實驗時用到的程序】 #include <stm32f10x.h> const uint8_t seg8[] = {0xc0, 0xf9, 0xa4, 0xb0, 0x99,... |
|
原始工程:https://zh.arslanbar.net/post.php?t=24584 【最終效果】 1.能夠在PC端通過設定的計算機名ping通網卡。 2.能在PC端... |
|
【命令】 C:\Users\Octopus>ping CAR527 Pinging CAR527 [192.168.1.109] with 32 bytes of data:... |
|
******21/03/2017 9:05:41 PM****** dhcp_start(netif=20005fe0) en0 dhcp_start(): starting new DH...
巨大八爪鱼 3-31 117.136.63.*
(点击/回复: 691/2) |
|
【1】去lwip的官方網站下載最新的lwip-2.0.2.zip 【2】新建空白STM32工程,建工程時一定要在Manage Run-Time Environment對話框里勾選啟動文件... |
|
全站共有主题数32833个,帖子数180449篇。 |