Location:
Search - RA0
Search list
Description: (1)上电后LCD背光打开,并显示倒计时5秒,然后时钟开始工作。
(2)用模式键(*)切换模式,如显示时间、日期、闹钟1、闹钟2等,并且可以用上、下键控制加1、减1或是闹钟的On、Off。
(3)原程序有16个键,包括0~9数字键,可以直接输入要设置的时间值,但后来将数字键取消了,你仍然可以通过修改程序的部分注释恢复此功能。
(4)闹钟有2路,时间到后闹2分钟,可按任意键取消本次闹钟。闹钟响时有2种音调,是用PIC的PWM实现的。
(5)按任意键可打开背光,1分钟后自动关闭背光。
(6)RA0~RA3为按键扫描输入,应接下拉电阻。
Platform: |
Size: 6188 |
Author: 汪建斌 |
Hits:
Description: RA0-RA5,RC0-RC5口的流水灯,熟悉PIC16F630的I/O口的操作
Platform: |
Size: 1453 |
Author: 1 |
Hits:
Description: 、本实战的目的是让大家熟悉ADC模块的功能以及AD转换的方法
2、项目实现的功能:从芯片RA0输入一个可以随时变化的模拟量(通过调节DEMO板VR1实现)
则单片机就能够及时地把该模拟量进行模/数转换,并用LED显示出来,我们可以看到转换结果
会随模拟量的变化而变化,从而以让我们了解片内ADC模块的工作情况。
3、本例的软件设计思路:利用单片机片内硬件资源TMR0和预分频器,为ADC提供定时启动信号。但是
没有利用其中断功能,而是采用了软件查询方式,转换结果采用了右对齐方式,
A/D转换的时钟源选用了系统周期的8倍,本例对于ADC的电压基准要求不高,
我们就选用了电源电压VDD和VSS作为基准电压,
4、对于A/D转换过程是否完成也没有利用ADC模块的中断功能,而是以软件方式查询其中启动位GO是否为0。本例中选用的模拟通道为AN0。
Platform: |
Size: 5207 |
Author: chuanji |
Hits:
Description: (1)上电后LCD背光打开,并显示倒计时5秒,然后时钟开始工作。
(2)用模式键(*)切换模式,如显示时间、日期、闹钟1、闹钟2等,并且可以用上、下键控制加1、减1或是闹钟的On、Off。
(3)原程序有16个键,包括0~9数字键,可以直接输入要设置的时间值,但后来将数字键取消了,你仍然可以通过修改程序的部分注释恢复此功能。
(4)闹钟有2路,时间到后闹2分钟,可按任意键取消本次闹钟。闹钟响时有2种音调,是用PIC的PWM实现的。
(5)按任意键可打开背光,1分钟后自动关闭背光。
(6)RA0~RA3为按键扫描输入,应接下拉电阻。-err
Platform: |
Size: 6144 |
Author: 汪建斌 |
Hits:
Description: RA0-RA5,RC0-RC5口的流水灯,熟悉PIC16F630的I/O口的操作-RA0-RA5, RC0-RC5 mouth water lamp, PIC16F630 familiar with the I/O port operation
Platform: |
Size: 1024 |
Author: 1 |
Hits:
Description: 、本实战的目的是让大家熟悉ADC模块的功能以及AD转换的方法
2、项目实现的功能:从芯片RA0输入一个可以随时变化的模拟量(通过调节DEMO板VR1实现)
则单片机就能够及时地把该模拟量进行模/数转换,并用LED显示出来,我们可以看到转换结果
会随模拟量的变化而变化,从而以让我们了解片内ADC模块的工作情况。
3、本例的软件设计思路:利用单片机片内硬件资源TMR0和预分频器,为ADC提供定时启动信号。但是
没有利用其中断功能,而是采用了软件查询方式,转换结果采用了右对齐方式,
A/D转换的时钟源选用了系统周期的8倍,本例对于ADC的电压基准要求不高,
我们就选用了电源电压VDD和VSS作为基准电压,
4、对于A/D转换过程是否完成也没有利用ADC模块的中断功能,而是以软件方式查询其中启动位GO是否为0。本例中选用的模拟通道为AN0。-err
Platform: |
Size: 5120 |
Author: chuanji |
Hits:
Description: CCS_ADC 16f877用法,通到一为RA0;-CCS_ADC 16f877 usage, lead to one RA0
Platform: |
Size: 1024 |
Author: 4111 |
Hits:
Description: 电机速度控制
RA0 RA1速度控制. RA2伺服输入 .报警输入RA3.-RA0 RA1 speed control motor speed control. RA2 servo input. Alarm input RA3.
Platform: |
Size: 2048 |
Author: ALEX |
Hits:
Description: An RS232 port controls a TSA5512 via a PIC16F84
This allows a TV tuner to be scanned across its full range.
4MHz crystal for the PIC, the tuner has it s own internal crystal. Use a MAX232 for level shifting.
SCL RB6
SDA RB5
Din RA1
Dout RA0
Platform: |
Size: 1024 |
Author: Nev |
Hits:
Description: 用QL200来做数字电压表,用4个数码管来显示RA0的输入电压-QL200 to do with the digital voltmeter, with four digital control to display the RA0 input voltage
Platform: |
Size: 2048 |
Author: 梦之 |
Hits:
Description: programa en samblador con un sensor de luz en el que se utilizan también el conversor analógico-digital y los puertos A, B y C de la siguiente forma:
- RA0 como entrada
- B como salida
- C como entrada
RA0 se utiliza par realizar la conversión-programa en ensamblador con un sensor de luz en el que se utilizan también el conversor analógico-digital y los puertos A, B y C de la siguiente forma:
- RA0 como entrada
- B como salida
- C como entrada
RA0 se utiliza par realizar la conversión
Platform: |
Size: 1024 |
Author: kals |
Hits:
Description: Channel estimation in using BEM model-especially in the doubly selective channel estimation
Platform: |
Size: 2048 |
Author: Denver |
Hits:
Description: 四位LED时钟显示程序
RB1-SW1秒设置 RB2-SW2分设置 RB3-SW3时设置
RB1--RB7接LED段码,RA0--RA3做选通
使用4M晶振TMR0滪分频为1:16 TMRO的循环时间为4.096MS 244次为一秒
用sec_nth计数-Four LED clock display program RB1-SW1 second sub-set RB2-SW2 set when setting RB3-SW3 RB1- RB7 access LED Segment, RA0- RA3 do Gating use TMR0 Yu 4M crystal frequency to the cycle time of 1:16 TMRO 4.096MS 244 times for one second with sec_nth count
Platform: |
Size: 2048 |
Author: xiong |
Hits:
Description: Design a 2x16 LCD moving message display. If RA0 = 0 then a message (for example,
“TESTING LCD” moves from left to right, otherwise (RA0=1) this message moves from
right to left.
Platform: |
Size: 73728 |
Author: dolly chan |
Hits:
Description: 基于正交基的信道估计,用于高速移动系统的信道估计-Orthogonal basis based channel estimation for high-speed mobile system channel estimation
Platform: |
Size: 2048 |
Author: sunshine |
Hits:
Description: PIC16F690上接LCD 1602A的显示驱动
Set these pins to outputs:
PORTC: RC0 -> PIN 11 (DATA, DB4)
RC1 -> PIN 12 (DATA, DB5)
RC2 -> PIN 13 (DATA, DB6)
RC3 -> PIN 14 (DATA, DB7)
RC4 -> PIN 6 (E)
RC5 -> PIN 4 (RS)
LCD: PIN 5 (R/W) -> Gnd (Or connect to RA0 if you want to read from LCD, not used in this lab)
Power: Pin 1 --> Gnd
Pin 2 --> Vcc
Pin 3 --> Contrast: Potentiometer center (10kohm, so you can vary voltage between 0-5V to this pin)-LCD_1602A display driver
Platform: |
Size: 1024 |
Author: 王木木 |
Hits:
Description: pic16f628a photoresistor detects ambient light, the analog comparator 1 input 16F628A internal comparator after RA0 C1OUT to 1, opened the door RB0 not output, the output is not close and then open the door RB0,
If the internal comparator C1OUT 0, opened the door RB0 output, this time against photoresistance ambient light, then opened the door to close RB0 output, while open photoresistance ambient light.
Platform: |
Size: 17408 |
Author: zdc |
Hits:
Description: 实验目的:RA0-RA5,RB0-RB7,RC0-RC7口的流水灯,熟悉PIC16F57的I/O口的操作-Purpose of the experiment: RA0-RA5, RB0-RB7 RC0-RC7, mouth water lights, familiar PIC16F57 I/O port operations
Platform: |
Size: 1024 |
Author: guoguohua |
Hits:
Description: Ralink RT557x RT53xx RT30xx 驱动(修复ATERE2P ATELDE2P功能)-Add a command iwpriv ra0 set ATERE2P = 1 to display all EEPROM content.
Correct the limitation of the length of fragment.Add WPS PBC Session Overlap Detecting.
Platform: |
Size: 1478656 |
Author: 齐宏伟 |
Hits:
Description: /* Basic A2D sample code for an PIC16F87x device.
* This code willl set up the A2D module to return an
* 8-Bit result. If greater precision is needed, a 10-Bit
* result can be returned if read_a2d() is modified to
* return the short ((ADRESH<<8)+(ADRESL)). Note also that
* ADCON1 should be set to 0x80 in the init_a2d() routine
* instead of zero.
*
* This code will sample an A2D value on analog port RA0, and it s value
* will be used to move a LED s position across PORTB.
*
* This project can be demonstrated on the Microchip PICDEM2 board.
*/-/* Basic A2D sample code for an PIC16F87x device.
* This code willl set up the A2D module to return an
* 8-Bit result. If greater precision is needed, a 10-Bit
* result can be returned if read_a2d() is modified to
* return the short ((ADRESH<<8)+(ADRESL)). Note also that
* ADCON1 should be set to 0x80 in the init_a2d() routine
* instead of zero.
*
* This code will sample an A2D value on analog port RA0, and it s value
* will be used to move a LED s position across PORTB.
*
* This project can be demonstrated on the Microchip PICDEM2 board.
*/
Platform: |
Size: 1024 |
Author: yash |
Hits: