-
question2
Q1 Create a program that will initialise Port2 bits 0 - 7 to outputs. Then in an endless loop perform the sequence of bit manipulations shown below. Your program should use bit masking operations. Here is an outline of the program in pseudo-code and with the first two bit manipulations done for you.
//initialise port 2 for output
//set all outputs to 0
while(1)
{
FIO2PIN |= 0x04 // set bit 2 on (0x04 = 00000100)
FIO2PIN &= ~0x04 // set bit 2 off
//set port2 bit 1 on
//set port2 bit 1 off
//set port2 bit 4 on
//set port2 bit 6 and bit 7 on
//set port2 bit 4 off
//set port2 bit 6 and bit 7 off
- 2010-03-09 01:40:03下载
- 积分:1
-
一种视觉识别方法
说明: 提供了一种视觉识别的方法和思路,已发表论文(It provides a method and idea of visual recognition, and has published papers)
- 2019-11-23 19:34:46下载
- 积分:1
-
使用matlab simulink模块实现PMSM电机的闭环控制
说明: 使用matlab simulink模块实现PMSM电机的闭环控制(Using MATLAB Simulink module to realize the closed-loop control of PMSM motor)
- 2020-03-16 23:25:48下载
- 积分:1
-
主要用于测绘人员的坐标换算如 大地坐标转经纬度或经纬度转大地坐标...
主要用于测绘人员的坐标换算如 大地坐标转经纬度或经纬度转大地坐标-Is mainly used for surveying and mapping personnel such as the Land Conversion of coordinates or latitude and longitude coordinates transfer switch geodetic coordinates latitude and longitude
- 2022-03-14 00:10:55下载
- 积分:1
-
用vc和cj60lib做的读取shape文件的源代码.还有些小问题没做完。...
用vc和cj60lib做的读取shape文件的源代码.还有些小问题没做完。-with vc cj60lib and shape do read the source code. Minor problems have not done.
- 2022-04-10 05:12:51下载
- 积分:1
-
IEEE14V403
说明: ieee forteen pscad model
- 2019-11-04 01:10:28下载
- 积分:1
-
从实用的角度详细介绍了RS纠错编码原理及其实现方法
从实用的角度详细介绍了RS纠错编码原理及其实现方法-From the practical point of view described in detail the principle of RS error-correcting code and its implementation
- 2022-04-30 08:29:27下载
- 积分:1
-
手机益智游戏
手机益智游戏-贴方块,索爱S700版本(屏幕240*320),J2ME开发,160关,好玩-mobile puzzle games- posted cubes, Sony Ericsson S700 version (240* 320 screen), J2ME development, 160 customs and fun
- 2022-03-25 22:36:37下载
- 积分:1
-
元素的倒计时jquery插件
说明: 一款简单的基于HTML5 time元素的倒计时jquery插件(A Simple Countdown jQuery Plug-in Based on HTML5 Time Element)
- 2019-01-10 14:59:08下载
- 积分:1
-
IConDate
IConDate
- 2022-02-18 14:43:00下载
- 积分:1