Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - c B
Search - c B - List
/*** *** *** *** *** *** **/ //**此映射表用来映射LED模块不译码时,显示的字符和必须输入的数据的关系 //**每段和对应比特位的关系见示意图 // g // --- --- // b | a |f | | <---显示0时点亮的段为gfedcb // --- // c | |e | | 那么写入数据为0x7e // --- --- // d // bit: 7 6 5 4 3 2 1 0 // 段位: g f e d c b a -/*****************************************///** mapping table to map LED module does not decoding, show characters and must import the data//** each and the corresponding bits see the relationship between the matrix// g//------// b | a | f
Date : 2025-12-21 Size : 194kb User : 简其平

DL : 0
完成在S3C2410处理器上移植μC/OS-II内核,然后实现以下多任务: a) 控制实验箱核心板上4盏LED灯轮流亮灭; b) 将LED1连接到ARM9-2410EP增强型实验箱扩展口的DA OUT端口,通过实验箱上的键盘(比如“↑”、“↓”键)控制LED1亮暗变化,同时在超级终端显示该控制值; c) 将LED2连接到扩展口的I/O输出口,通过超级终端按键控制LED2亮灭,即按一下PC的超级终端某个键(比如回车键)LED2灭,再按LED2亮,反复循环。 -Completed the processor S3C2410 transplant μC/OS-II kernel, and then multi-task to achieve the following: a) control experiment box core board 4 bright LED lights out rotation b) will LED1 connected to the ARM9-2410EP enhanced experimental me expansion of the mouth of DA OUT port, through the experimental box on your keyboard (such as
Date : 2025-12-21 Size : 416kb User :

在IAR环境中实现以下要求的编程(1)二个外部中断EINTB(KEY1)、EINTC(KEY2),三个任务A、B、C,优先级由低到高。 (2)A任务每运行一次使得第一组数码管的值增加1,调用延时函数为1s (3)B任务等待信号量bsem(初始值为0),中断INTB触发信号量bsem的发送。该任务每运行一次使得第二组数码管的值增加1,调用延时函数为0.5s (4)C任务等待信号量csem(初始值为0),中断INTC触发信号量csem的发送,该任务每运行一次使得某个发光二级管闪烁,调用延时函数为0.1s -IAR environment in programming to achieve the following requirements (1) two external interrupt EINTB (KEY1), EINTC (KEY2), three tasks A, B, C, from low to high priority. (2) A task group each time you run make the first digital value increase, calling the delay function for the 1s (3) B task waiting for semaphore bsem (initial value 0), interrupt INTB trigger the sending semaphore bsem . The task runs once each second set of digital control makes the value increase, calling the delay function 0.5s (4) C task waiting for semaphore csem (initial value 0), interrupt INTC amount csem send the trigger signal, the so each time you run a task light-emitting diode flashes, called the delay function for the 0.1s
Date : 2025-12-21 Size : 289kb User : 林燕

基于ucos-II操作系统在51单片机上的移植-E m b e d d e d R e a l- t i m e O p e r a t i o n S y s t e m C/O S- I I f o r 5 1 M C U
Date : 2025-12-21 Size : 293kb User : lbsteven

DL : 0
uC/OS-II 实时操作系统最小系统。 Demo程序经Keil701编译后,代码量为7-8K,可直接在KeilC51上仿真运行。点调试即可在串口仿真看到结果。 Demo程序创建了3个任务A、B、C优先级分别为2、3、4,A每秒显示一次,B每3秒显示一次,C每6秒显示一次。从显示结果看,显示3个A后显示1个B,显示6个A和2个B后显示1个C,结果显然正确。用户可以仿照范例运用更多系统API函数写出自己的程序。只要程序中有显示语句就可以用软件仿真器看结果。注意:系统提供的显示函数是并发的,他不是直接显示到串口,而是先输出到显存,用户不必担心IO慢速操作影响程序运行。串口输入也采用了同样的技术,他使得用户在CPU忙于处理其他任务时照样可以盲打输入命令。-uC/OS-II real-time operating system is the smallest system. Demo program after after Keil701 compiled, the amount of code to 7-8K, can directly in KeilC51 on simulation run.
Date : 2025-12-21 Size : 1mb User : zenglinman

(1)二个外部中断EINTB(KEY1)、EINTC(KEY2),三个任务A、B、C,优先级由低到高。 (2)A任务每运行一次使得第一组数码管的值增加1,调用延时函数为1s (3)B任务等待信号量bsem(初始值为0),中断INTB触发信号量bsem的发送。该任务每运行一次使得第二组数码管的值增加1,调用延时函数为0.5s (4)C任务等待信号量csem(初始值为0),中断INTC触发信号量csem的发送,该任务每运行一次使得某个发光二级管闪烁,调用延时函数为0.1s -(A) two external interrupt EINTB (KEY1), EINTC (KEY2), three tasks A, B, C, from low to high priority. (2) A task runs once every digital tube such that the first group increases the value of one, call the delay function 1s (3) B task waiting for the semaphore bsem (initial value is 0), the interrupt INTB amount bsem trigger signal transmission. Each time you run the task so that the second group increases the value of a digital control, call the delay function is 0.5s (4) C task waiting for the semaphore csem (initial value is 0), the interrupt is triggered semaphore csem INTC transmission, the task Each time you run such a light-emitting diode flashes, call the delay function is 0.1s
Date : 2025-12-21 Size : 336kb User : yf

(1)二个外部中断EINTB(KEY1)、EINTC(KEY2),三个任务A、B、C,优先级由低到高。 (2)A任务每运行一次使得第一组数码管的值增加1,调用延时函数为1s (3)B任务等待信号量bsem(初始值为0),中断INTB触发信号量bsem的发送。该任务每运行一次使得第二组数码管的值增加1,调用延时函数为0.5s (4)C任务等待信号量csem(初始值为0),中断INTC触发信号量csem的发送,该任务每运行一次使得某个发光二级管闪烁,调用延时函数为0.1s -(A) two external interrupt EINTB (KEY1), EINTC (KEY2), three tasks A, B, C, from low to high priority. (2) A task runs once every digital tube such that the first group increases the value of one, call the delay function 1s (3) B task waiting for the semaphore bsem (initial value is 0), the interrupt INTB amount bsem trigger signal transmission. Each time you run the task so that the second group increases the value of a digital control, call the delay function is 0.5s (4) C task waiting for the semaphore csem (initial value is 0), the interrupt is triggered semaphore csem INTC transmission, the task Each time you run such a light-emitting diode flashes, call the delay function is 0.1s
Date : 2025-12-21 Size : 278kb User : yf

a. 操作方式:双人对弈方式,采用触摸屏方式投放棋子,对弈双方的棋子为不同颜色的圆,分为红方和绿方; b.评分机制:当某一方的5个棋子连成一线时得一分,然后该5子消除,继续进行; c.. 结束判断 分为四种情况,任一种情况均可判断: A.有一方的分数率先达到5分,则获胜; B.总的步数达到最大步数(比如100),根据双方的得分,分数高则获胜。若双方分数相同,则为平局。 C.当前棋局已不能再走棋,根据双方的得分,分数高则获胜。若双方分数相同,则为平局。 D. 当某一方在40之内为走棋时,认为该方输。 d.新棋局: 当一局结束时,开始新棋局。 -A. operating mode: double game way, using the touch screen on the pawn, game pieces on both sides of the different colors of circle, divided into red and green party B. scoring mechanism: when one party of five pieces together as a one line, and then the five son, continue C..The end of the judgment Is divided into four kinds of circumstances, any kinds of circumstances are: A. has the side of the score of 5 points, win B. step total maximum number (100), according to the score, high score wins.If both sides equal points, for a draw. C. chess current no longer moves, according to the score, high score wins.If both sides equal points, for a draw. D. when one party within 40 for playing chess, thinks that the party lose. D. new position: When at the end of the game, to start a new position.
Date : 2025-12-21 Size : 405kb User : 偶尔

ATsama5D3X上的uC/OS-III操作系统的移植版本,使用IAR编译器,更改printf()货直接屏蔽就可以使用。-关闭翻译英语中文德语检测语言 中文(简体)英语日语 翻译文字或网页 ATsama5D3X上的uC/OS-III操作系统的移植版本,使用IAR编译器,更改printf()货直接屏蔽就可以使用。 请键入文字或网站地址,或者上传文档。 取消 ATsama5D3X shàng de uC/OS-III cāozuò xìtǒng de yízhí bǎnběn, shǐyòng IAR biānyì qì, gēnggǎi printf() huò zhíjiē píngbì jiù kěyǐ shǐyòng.UC/OS-III portable version of the operating system ATsama5D3X on using IAR compiler, change printf () goods directly shield can be used.
Date : 2025-12-21 Size : 290kb User : 杰瑞
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.