Author |
Message |
Topic: 12f675 Adc |
waheed
Replies: 3
Views: 9076
|
Forum: General CCS C Discussion Posted: Fri Jul 13, 2012 5:15 am Subject: 12f675 Adc |
Thnx.
This did it. |
Topic: 12f675 Adc |
waheed
Replies: 3
Views: 9076
|
Forum: General CCS C Discussion Posted: Thu Jul 12, 2012 5:27 am Subject: 12f675 Adc |
I have a simple program to test the ADC. But when i do the simulation on proteus, it show the following msgs:
1: Effect of writing OSCAL register not modelled.
2: ADC conversion started before & ... |
Topic: Driver file for PIC 12f675 |
waheed
Replies: 1
Views: 3832
|
Forum: General CCS C Discussion Posted: Thu Jul 12, 2012 12:05 am Subject: Driver file for PIC 12f675 |
I need driver/Header file for 12F675.. |
Topic: RTOS Tasks |
waheed
Replies: 2
Views: 5208
|
Forum: General CCS C Discussion Posted: Sat Jun 02, 2012 7:33 am Subject: RTOS Tasks |
Is there any limitation to how much tasks can be used in a program? I am writing a program that uses 7 tasks but only 3 tasks are running at a time.
When I include 8th task it gives strange behaviou ... |
Topic: GLCD Driver Explanation |
waheed
Replies: 2
Views: 4518
|
Forum: General CCS C Discussion Posted: Thu May 31, 2012 11:21 pm Subject: GLCD Driver Explanation |
The way to 'highligt', is to draw a dark filled rectangle first, covering where you are going to put the text, then draw the text with a white pen, instead of black.
I already knew that. What ... |
Topic: GLCD Driver Explanation |
waheed
Replies: 2
Views: 4518
|
Forum: General CCS C Discussion Posted: Thu May 31, 2012 6:58 am Subject: GLCD Driver Explanation |
Controller: 18f452
Compiler v 4.125
GLCD: 96*60 KS0713 Family Graphic LCDs
I want to make changes to GLCD Driver and I don't understand the following things:
Print Character Routine:
... |
Topic: Driver for 96 * 60 KS0713 Family Graphic LCDs |
waheed
Replies: 1
Views: 4521
|
Forum: General CCS C Discussion Posted: Thu May 31, 2012 1:21 am Subject: Driver for 96 * 60 KS0713 Family Graphic LCDs |
I already have a driver for this GLCD but it has limited capability.
I want to have options like HIGHLIGHTING , SINGLE PIXEL ON/OFF and LINE Drawing.
Driver that i am using is:
//////////// ... |
Topic: EEPROM Garbage value |
waheed
Replies: 9
Views: 11382
|
Forum: General CCS C Discussion Posted: Wed May 30, 2012 3:36 am Subject: EEPROM Garbage value |
Controller: 18f452
Compiler v4.125
The program increments the 3 variables every time PIN_E0 is pressed and stores the values to EEPROM and resets cpu every time PIN_E1 is pressed.
#include &l ... |
Topic: EEPROM & 18f452 |
waheed
Replies: 6
Views: 8488
|
Forum: General CCS C Discussion Posted: Mon May 28, 2012 7:26 am Subject: EEPROM & 18f452 |
I have changed my code to this:
#include <18F452_new.h>
#fuses NOWDT,HS,NOPROTECT
#use delay(clock=20000000)
#ROM int8 0xF00000 = {1, 2, 3, 4, 5}
#include <stdli ... |
Topic: EEPROM & 18f452 |
waheed
Replies: 6
Views: 8488
|
Forum: General CCS C Discussion Posted: Mon May 28, 2012 5:18 am Subject: EEPROM & 18f452 |
8 bit data can be written or read.
I have changed the int_count type to int8, but still it doesn't work and gives the same error. |
Topic: EEPROM & 18f452 |
waheed
Replies: 6
Views: 8488
|
Forum: General CCS C Discussion Posted: Mon May 28, 2012 3:43 am Subject: EEPROM & 18f452 |
Test Program works fine except that if switch off my controller than the lockout value is lost i.e. EEPROM isn't working.
it also gives an error in a separate Dialogue Box :
"List Index out o ... |
Topic: EEPROM & 18f452 |
waheed
Replies: 6
Views: 8488
|
Forum: General CCS C Discussion Posted: Mon May 28, 2012 2:23 am Subject: EEPROM & 18f452 |
Compiler v 4.120
Controller: 18f452
#Define EEPROM_add 10
write_eeprom(EEPROM_add,lockout);
lockout = read_eeprom(EEPROM_add);
Although the program compiles complete ... |
Topic: CCS v 4.120 Example files |
waheed
Replies: 1
Views: 3864
|
Forum: General CCS C Discussion Posted: Mon May 28, 2012 1:20 am Subject: CCS v 4.120 Example files |
I can't open the Example Files given in the CCS Manual.
Link location is:
file:///C:/Documents%20and%20Settings/Help-Manual%20Files/CCSC/C%20Compiler_V4/javascript:shortcutlink.click() |
Topic: External Interrupt Problem |
waheed
Replies: 12
Views: 16509
|
Forum: General CCS C Discussion Posted: Thu May 24, 2012 7:16 am Subject: External Interrupt Problem |
Can Multiple interrupts (EXT, EXT1,EXT2) be used in a similar way?
Controller used is 18f452.
I have tried doing this but only the "EXT" works.
EXT1 and EXT2 ISRs toggle the LED at Pi ... |
Topic: External Interrupt Problem |
waheed
Replies: 12
Views: 16509
|
Forum: General CCS C Discussion Posted: Wed May 23, 2012 11:41 pm Subject: External Interrupt Problem |
Many Thanx to all for all the replies..
Ttelmah:
Your Code is exactly what I was looking for.
Depends how clean switch contact is.
May bounce several times on make/break.
Probing exte ... |
|