CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 12 matches
CCS Forum Index
Author Message
  Topic: Global variables ??
mohsin_hashmi

Replies: 3
Views: 4415

PostForum: General CCS C Discussion   Posted: Thu Oct 18, 2012 8:08 am   Subject: Global variables ??
thx alot !
  Topic: Global variables ??
mohsin_hashmi

Replies: 3
Views: 4415

PostForum: General CCS C Discussion   Posted: Thu Oct 18, 2012 5:31 am   Subject: Global variables ??
Is there anyway to declare global variables ?
I want to change the value of a variable in main() from ext_int_isr()

an example will be very helpful !!!
  Topic: Entering ISR when Power Up !!!! Plz Help
mohsin_hashmi

Replies: 16
Views: 14709

PostForum: General CCS C Discussion   Posted: Wed Oct 17, 2012 1:11 pm   Subject: Entering ISR when Power Up !!!! Plz Help
Thanks everyone !
Code is working !!!!!! Booo Yeahhhh !!! Very Happy
  Topic: Entering ISR when Power Up !!!! Plz Help
mohsin_hashmi

Replies: 16
Views: 14709

PostForum: General CCS C Discussion   Posted: Wed Oct 17, 2012 8:40 am   Subject: Entering ISR when Power Up !!!! Plz Help
on both !!!!
  Topic: Entering ISR when Power Up !!!! Plz Help
mohsin_hashmi

Replies: 16
Views: 14709

PostForum: General CCS C Discussion   Posted: Wed Oct 17, 2012 8:03 am   Subject: Entering ISR when Power Up !!!! Plz Help
the three column pins with pull ups are connected to d4->col0 ,d5->col1, d6->col2 (inputs)
row wires are connected to d0->row0, d1->row1, d2->row2, d3>row3

port d is : d7 d6 d ...
  Topic: Entering ISR when Power Up !!!! Plz Help
mohsin_hashmi

Replies: 16
Views: 14709

PostForum: General CCS C Discussion   Posted: Wed Oct 17, 2012 7:35 am   Subject: Entering ISR when Power Up !!!! Plz Help
Ok Ttelmah

I will change the code ! will post soon !
  Topic: Entering ISR when Power Up !!!! Plz Help
mohsin_hashmi

Replies: 16
Views: 14709

PostForum: General CCS C Discussion   Posted: Wed Oct 17, 2012 7:24 am   Subject: Entering ISR when Power Up !!!! Plz Help
Because the keypad driver that comes with CCS C is a polling based.
  Topic: Entering ISR when Power Up !!!! Plz Help
mohsin_hashmi

Replies: 16
Views: 14709

PostForum: General CCS C Discussion   Posted: Wed Oct 17, 2012 6:23 am   Subject: Entering ISR when Power Up !!!! Plz Help
Yes ! I have gotten around the problem Thanks alot :D

But my code has lots of "set_tris_d()" if i get rid of those my ports wont be written properly.

I am posting the latest code but t ...
  Topic: Entering ISR when Power Up !!!! Plz Help
mohsin_hashmi

Replies: 16
Views: 14709

PostForum: General CCS C Discussion   Posted: Wed Oct 17, 2012 12:42 am   Subject: Entering ISR when Power Up !!!! Plz Help
I search the forum for this problem and found that I should clear interrupt flag so I did that now I cant enter the ISR

#include <18F452.h>
#device adc=8

#FUSES NOWDT / ...
  Topic: Entering ISR when Power Up !!!! Plz Help
mohsin_hashmi

Replies: 16
Views: 14709

PostForum: General CCS C Discussion   Posted: Wed Oct 17, 2012 12:24 am   Subject: Entering ISR when Power Up !!!! Plz Help
I am making an interrupt based keypad. When I run the simulation it enters ISR even before I pressed any key. I have posted the keypad detecting code and the code for "#include <kbd_m.c> &q ...
  Topic: password program not verifying
mohsin_hashmi

Replies: 6
Views: 7204

PostForum: General CCS C Discussion   Posted: Sun Oct 07, 2012 11:17 am   Subject: password program not verifying
I have tried the example in the CCS C manual but same problem.

char string[30];
char temp[30];

strcpy(temp,"mohsin");
printf("Password: " ...
  Topic: password program not verifying
mohsin_hashmi

Replies: 6
Views: 7204

PostForum: General CCS C Discussion   Posted: Sun Oct 07, 2012 10:08 am   Subject: password program not verifying
Hello !

I have written a program that asks for password. But even if i am entering the correct password "mohsin" it is still saying password not correct. Please help.

#include <16 ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group