Author |
Message |
Topic: problem with interrupt |
yie23
Replies: 1
Views: 3304
|
Forum: General CCS C Discussion Posted: Fri Dec 10, 2010 4:11 am Subject: problem with interrupt |
this is my code
#include <p16f877a.inc>
__config 0x3f7a
ORG 0x00
WAIT 1 EQU 0X20
WAIT 2 EQU 0X21
WAIT 3 EQU 0X22
ORG 0X110
BCF STATUS, RP1
BSF STATUS, RP0
MOVLW 0X06
MOVWF ... |
Topic: eeprom write interrupt |
yie23
Replies: 13
Views: 11941
|
Forum: General CCS C Discussion Posted: Thu Dec 09, 2010 6:27 pm Subject: eeprom write interrupt |
oh , so can u suggest me a good website for this coding ? |
Topic: eeprom write interrupt |
yie23
Replies: 13
Views: 11941
|
Forum: General CCS C Discussion Posted: Thu Dec 09, 2010 5:02 pm Subject: eeprom write interrupt |
oh , then if i need to insert interrupt
the program should be like this ?
#include <pic.h>
int i=0;
int j=0;
//---Function Definition-----
//--Interrupt Beep function--
interr ... |
Topic: help me with interrupt |
yie23
Replies: 4
Views: 4616
|
Forum: General CCS C Discussion Posted: Thu Dec 09, 2010 4:10 pm Subject: help me with interrupt |
Hahaha, ok. Thanks a lot for your comment. It goes straight to my heart. |
Topic: eeprom write interrupt |
yie23
Replies: 13
Views: 11941
|
Forum: General CCS C Discussion Posted: Thu Dec 09, 2010 4:06 pm Subject: eeprom write interrupt |
But, my job is to make interrupt using an eeprom. The task had been given that way. So, I had to follow it. I'm surely not understand enough how eeprom write interrupt work. |
Topic: help me with interrupt |
yie23
Replies: 4
Views: 4616
|
Forum: General CCS C Discussion Posted: Thu Dec 09, 2010 4:01 pm Subject: help me with interrupt |
im very sorry , but this is my homework .that's why im really need help here . this work's covers 20% of our grade . |
Topic: help me with interrupt |
yie23
Replies: 4
Views: 4616
|
Forum: General CCS C Discussion Posted: Thu Dec 09, 2010 3:18 pm Subject: help me with interrupt |
#include <16f877a.h>
#use delay(clock=200000000)
#fuses hs,noprotect,nowdt,nolvp
#byte portb=6
void main(){
set_tris_b(0b00000000);
enable_interrupt ... |
Topic: eeprom write interrupt |
yie23
Replies: 13
Views: 11941
|
Forum: General CCS C Discussion Posted: Thu Dec 09, 2010 3:00 pm Subject: eeprom write interrupt |
no no no , we are friend . 23 is our class name .
three of us are different person .
but we are in the same class
sorry if we had make u angry .
|
Topic: eeprom write interrupt |
yie23
Replies: 13
Views: 11941
|
Forum: General CCS C Discussion Posted: Thu Dec 09, 2010 2:49 pm Subject: eeprom write interrupt |
erm , actually i have to make led toggle continuously at port RB1 , RB2 and RB3 and toggle buzzer on and off in sequence every 1 sec using eeprom write interrupt . somehow , could u help me ? |
Topic: eeprom write interrupt |
yie23
Replies: 13
Views: 11941
|
Forum: General CCS C Discussion Posted: Thu Dec 09, 2010 2:12 pm Subject: eeprom write interrupt |
If it correct to initializes interrupt ?
Can you correct my mistake in this code ?
void main()
{
set_tris_b(0b00000000);
do
{
output_high(pin_B1);
dela ... |
Topic: eeprom write interrupt |
yie23
Replies: 13
Views: 11941
|
Forum: General CCS C Discussion Posted: Thu Dec 09, 2010 1:48 pm Subject: eeprom write interrupt |
I'm noob in writing code. Are this correct ?
#include <16f877a.h>
#use delay(clock=20000000)
#fuses hs,noprotect,nowdt,nolvp
#byte portb=6
enable_interrupts(int_rda);
... |
|