Author |
Message |
Topic: lcd_getc returns nothing |
aasief
Replies: 2
Views: 6143
|
Forum: General CCS C Discussion Posted: Wed Jul 08, 2009 2:43 am Subject: Solved it |
I solved it,
I just had to test the busy flag on the lcd with a
char lcd_getc( BYTE x, BYTE y) {
char value;
lcd_gotoxy(x,y);
while ( bit_test(lcd_r ... |
Topic: lcd_getc returns nothing |
aasief
Replies: 2
Views: 6143
|
Forum: General CCS C Discussion Posted: Tue Jul 07, 2009 7:18 am Subject: lcd_getc returns nothing |
Hey all
I'm using a keypad and lcd display with a pic 877. The keypad section works and the lcd works too except when I do the lcd_getc function, it just returns a cursor character. I sort of modif ... |
Topic: Sleep while adc conversion |
aasief
Replies: 2
Views: 6409
|
Forum: General CCS C Discussion Posted: Mon Jun 22, 2009 8:04 am Subject: Sleep while adc conversion |
THANK YOU VERY MUCH Ttelmah.
I've been looking in many books and in the ccs manual but it doesn't explain that well. Your explanation is much easier.
|
Topic: Sleep while adc conversion |
aasief
Replies: 2
Views: 6409
|
Forum: General CCS C Discussion Posted: Mon Jun 22, 2009 6:03 am Subject: Sleep while adc conversion |
Hi Everyone
I'm using the onboard adc on the pic 16F877. But when it takes reading it gives alot of noise on the power line. I've been told to put the pic in sleep mode during adc conversion but I' ... |
Topic: lm35 temperature sensor |
aasief
Replies: 15
Views: 27002
|
Forum: General CCS C Discussion Posted: Mon Jun 22, 2009 4:09 am Subject: lm35 temperature sensor |
Show me the LM35 circuit and what is your voltage coming out of your LM35 circuit into the pic |
Topic: ultrasonic range finder |
aasief
Replies: 2
Views: 4212
|
Forum: General CCS C Discussion Posted: Thu Apr 30, 2009 5:06 am Subject: ultrasonic range finder |
Thanx for ur response.
The delays I'm using are correct because I get 38.7 kHz out. I don't know why I do because looking at it, the PIC isn't doing what it's supposed to be doing.
I'm having a pr ... |
Topic: ultrasonic range finder |
aasief
Replies: 2
Views: 4212
|
Forum: General CCS C Discussion Posted: Wed Apr 29, 2009 6:22 am Subject: ultrasonic range finder |
Could someone tell me whats wrong with this code
#include "16f877.h"
#use delay(clock=4000000)
#define use_portb_lcd
#include "lcd.c"
#int_ccp1
unsigned int tim ... |
Topic: Problem generating coff files |
aasief
Replies: 5
Views: 5544
|
Forum: General CCS C Discussion Posted: Tue Feb 17, 2009 3:57 pm Subject: Solved it |
Thanx alot,i solved it. Was a silly problem really....Windows was automatically giving the same file extension to different types of files.It was telling me that everything was a C object file.So I ha ... |
Topic: Problem generating coff files |
aasief
Replies: 5
Views: 5544
|
Forum: General CCS C Discussion Posted: Tue Feb 17, 2009 2:57 pm Subject: Problem generating coff files |
Im using ccs 4.038 i think
mplab v8.10
pic16f877a
Theres nothing wrong with the code because I've generated the exact same code before and it worked fine.
But I reloaded windows today, and rei ... |
Topic: Problem generating coff files |
aasief
Replies: 5
Views: 5544
|
Forum: General CCS C Discussion Posted: Tue Feb 17, 2009 2:54 pm Subject: Problem generating coff files |
Im using ccs 4.038 i think
mplab v8.10
pic16f877a
Theres nuthn rong with the code because ive generated the exact same code before and it worked fine
But i reloaded windows today,and reinstall ... |
Topic: Problem generating coff files |
aasief
Replies: 5
Views: 5544
|
Forum: General CCS C Discussion Posted: Tue Feb 17, 2009 12:22 pm Subject: Problem generating coff files |
Hey
I have a problem with generating cof files. When I build the code using CCS in mplab, the build succeeds and it notifies me that the cof file has been saved in the folder specified. But the file ... |
Topic: output_high(pin_Xn) problems |
aasief
Replies: 3
Views: 3189
|
Forum: General CCS C Discussion Posted: Thu Feb 12, 2009 7:19 am Subject: output_high(pin_Xn) problems |
I am busy designing a temperature an humidity controller as part of my design project for university.
I am controlling 4 outputs namely heater,cooler,humidifier and dehumidifier.The main programming ... |
|