例如,当SCLK=0时DIN=1,SCLK=1时DIN=0,则存入的数据是0而不是1。如果要想存储低电平时的数据,必须再串联一个上升沿触发的D触发器。
|
【程序】lwip-2.0.2通过DHCP自动从路由器获取IP地址原始程序:
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,... |
【教程】给lwip添加计算机名(NetBIOS名称)原始工程:https://zh.arslanbar.net/post.php?t=24584
【最终效果】 1.能够在PC端通过设定的计算机名ping通网卡。 2.能在PC端... |
【数据】在控制台中执行“ping 计算机名”时网卡收到的UDP数据包内容【命令】
C:\Users\Octopus>ping CAR527 Pinging CAR527 [192.168.1.109] with 32 bytes of data:... |
DHCP出错了******21/03/2017 9:05:41 PM******
dhcp_start(netif=20005fe0) en0 dhcp_start(): starting new DH...
巨大八爪鱼
3-31
117.136.63.*
(點擊/回復: 672/2)
|
【步骤】lwip-2.0.2在STM32F103RC+ENC28J60网卡上无操作系统移植(不使用STM32库函数)【1】去lwip的官方网站下载最新的lwip-2.0.2.zip
【2】新建空白STM32工程,建工程时一定要在Manage Run-Time Environment对话框里勾选启动文件... |
|
【程序】AVR单片机通过硬件I2C(TWI)读写24C08存储器#define F_CPU 11059200
#include <avr/interrupt.h> #include <avr/io.h> #include... |
【程序】独立看门狗IWDG的使用#include <stm32f10x.h>
uint8_t seg8[] = {0xc0, 0xf9, 0xa4, 0xb0, 0x99, 0x92, 0x82, 0xf8, 0x... |
【程序】使用外部32.768kHz晶振作为RTC的时钟源(库函数版)#include <stm32f10x.h>
uint8_t seg8[] = {0xc0, 0xf9, 0xa4, 0xb0, 0x99, 0x92, 0x82, 0xf8, 0x... |
【程序】使用内部低速晶振作为RTC的时钟源(库函数版)#include <stm32f10x.h>
uint8_t seg8[] = {0xc0, 0xf9, 0xa4, 0xb0, 0x99, 0x92, 0x82, 0xf8, 0x... |
【程序】在AVR单片机中使用printf函数#include <avr/io.h>
#include <avr/sfr_defs.h> #include <stdio.h> // 芯片型号:... |
您好,阿斯兰侃吧欢迎您的到来~亲爱的用户:欢迎来到AVR吧,阿斯兰侃吧欢迎您的到来~
请先阅读我们的社区准则: https://zh.arslanbar.net/documents/eula/ 以及版权声... |
今天晚上写的串口控制的RTC时钟程序#include <stdio.h>
#include <string.h> #include <stm32f10x.h> #define BIT... |
全站共有主題數30502個,帖子數137815篇。 |
內容轉換: |