PORTB 源代码

探索portB技术的无限可能,这里是专为电子工程师打造的知识宝库。portB作为微控制器中的重要接口之一,广泛应用于数据传输、外设控制等多个领域,是实现硬件与软件高效交互的关键。无论您是在设计智能家居系统,还是在开发工业自动化项目,掌握portB的应用技巧都将极大提升您的工程能力…

收录资源 500 份 全站深度检索
源码文件

;LCD显示程序,8M ;有1K字节的SRAM .include "m16def.inc" .equ rs=0 .equ rw=1 .equ en=2 ;PB口 ;时钟寄存器于SRAM中(共有512个字节SRAM) .equ second=0x0…

源码文件

#include #define uchar unsigned char #define uint unsigned int uchar Table[10]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x…

源码文件

#include #define uchar unsigned char #define uint unsigned int uchar Table[10]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x…

源码文件

#include #define uchar unsigned char #define uint unsigned int uchar Table[10]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x…

源码文件

#include #define uchar unsigned char #define uint unsigned int void DelayMs(uint i) {uchar j; for(;i!=0;i--) {for(j=25…

源码文件

#ifndef JHD_1602A #define JHD_1602A //A端口作为数据发送接收端 //PB1作为RS控制端;RS为寄存器选择,高电平时选择数据寄存器、低电平时选择指令寄存器。 //PB2作为R/W控制端;高电平时进行读操作,低电…

源码文件

#include "p18cxxx.h" #include "delays.h" #pragma romdata TABLE=0x1000 const rom char table[240]={0x08,0xF8,0x08,0x08,0x08,0x…

源码文件

#include "p18cxxx.h" #include "delays.h" #pragma romdata TABLE=0x1000 const rom char table[240]={0x08,0xF8,0x08,0x08,0x08,0x…

源码文件

#include "p18cxxx.h" #include "delays.h" #pragma romdata TABLE=0x1000 const rom char table[240]={0x08,0xF8,0x08,0x08,0x08,0x…

源码文件

; WARNING: This program assumes you have some leds connected (with resistors) to some pins; ; Do not tie any pins directly to Vdd…