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 101 matches
CCS Forum Index
Author Message
  Topic: INT_EXT external interrupt on RB0 not working
kein

Replies: 1
Views: 11559

PostForum: General CCS C Discussion   Posted: Tue Feb 17, 2015 12:25 am   Subject: INT_EXT external interrupt on RB0 not working
Hi Gents,
I'm having issues with my external interrupt. I have set up PIN_B0 as a digital input input and PORTE, PIN1 is output. I have also set up INTCON BIT 7, BIT4 and BIT1 as shown on the code be ...
  Topic: What is causing Stack underflow on inline assembly
kein

Replies: 8
Views: 14180

PostForum: General CCS C Discussion   Posted: Fri Feb 06, 2015 7:24 pm   Subject: What is causing Stack underflow on inline assembly
Guys, I solved it. For those who may be interested, here is the solution.

unsigned char ReadFromEEPROM(int8 address)
{
unsigned char temp;
#asm
movf address, w ;w ...
  Topic: What is causing Stack underflow on inline assembly
kein

Replies: 8
Views: 14180

PostForum: General CCS C Discussion   Posted: Fri Feb 06, 2015 6:38 am   Subject: What is causing Stack underflow on inline assembly
Thanks guys for your support. On the question of why assembly? My options are very limited as it's a requirement of my school assignment.
Having said that, I'm having problem with MPLABX simulator re ...
  Topic: What is causing Stack underflow on inline assembly
kein

Replies: 8
Views: 14180

PostForum: General CCS C Discussion   Posted: Thu Feb 05, 2015 11:49 pm   Subject: What is causing Stack underflow on inline assembly
Thank you so much. I guess return causes stack issues - program returns to random location.
  Topic: What is causing Stack underflow on inline assembly
kein

Replies: 8
Views: 14180

PostForum: General CCS C Discussion   Posted: Thu Feb 05, 2015 9:16 am   Subject: What is causing Stack underflow on inline assembly
Gents,
I'm having stack underflow issue with my code. I've written an inline assembly code as shown below. For some reasons, it generates "stack underflow executing return instruction". Whe ...
  Topic: 8x8 dot Matrix not displaying proper message
kein

Replies: 20
Views: 30593

PostForum: General CCS C Discussion   Posted: Wed Feb 06, 2013 7:34 pm   Subject: 8x8 dot Matrix not displaying proper message
Gents,
Sorry, I have been out of the scene recovering. I can't thank you enough for your comments, direction and help. I will put them into action between today and tomorrow and will post a response. ...
  Topic: 8x8 dot Matrix not displaying proper message
kein

Replies: 20
Views: 30593

PostForum: General CCS C Discussion   Posted: Sun Feb 03, 2013 11:55 pm   Subject: 8x8 dot Matrix not displaying proper message
You're absolutely, Mike. My apologies.
That said, I finally got something happening with the code below. However, there are still issues with characters being displayed as some dots are found to be m ...
  Topic: 8x8 dot Matrix not displaying proper message
kein

Replies: 20
Views: 30593

PostForum: General CCS C Discussion   Posted: Sun Feb 03, 2013 9:18 am   Subject: 8x8 dot Matrix not displaying proper message
Hi temtronic,
I tried the code but it didn't work either. Can anyone post a simple code that I may test?
The situation is very frustrating and my final year project is now in limbo.
  Topic: 8x8 dot Matrix not displaying proper message
kein

Replies: 20
Views: 30593

PostForum: General CCS C Discussion   Posted: Sun Feb 03, 2013 2:53 am   Subject: 8x8 dot Matrix not displaying proper message
Gents,
You are right PCM Programmer, the byte 0b01111110 was not part of the origin value in the table. It is a number I chose to send to the shift to see what would be displayed. The 8x8 Dot matrix ...
  Topic: 8x8 dot Matrix not displaying proper message
kein

Replies: 20
Views: 30593

PostForum: General CCS C Discussion   Posted: Sat Feb 02, 2013 11:49 pm   Subject: 8x8 dot Matrix not displaying proper message
Hello PCM Programmer,
Thanks for your reply. I did exactly as you said. There is something strange about my 8x8 display matrix. When I send a byte say 0b01111110, the dot matrix displays something li ...
  Topic: 8x8 dot Matrix not displaying proper message
kein

Replies: 20
Views: 30593

PostForum: General CCS C Discussion   Posted: Sat Feb 02, 2013 8:18 pm   Subject: 8x8 dot Matrix not displaying proper message
Gents,
Many thanks PCM Programmer for your help. Here is the link of my schematic as requested.

http://imageshack.us/photo/my-images/443/schematic1.png/
  Topic: 8x8 dot Matrix not displaying proper message
kein

Replies: 20
Views: 30593

PostForum: General CCS C Discussion   Posted: Sat Feb 02, 2013 6:33 pm   Subject: 8x8 dot Matrix not displaying proper message
Thanks Gents for your response. I'm having trouble posting the schematic as I cannot see any import button and the (ALT+P) isn't working for me. How do I post a schematic onto the forum.?
Thanks.
  Topic: 8x8 dot Matrix not displaying proper message
kein

Replies: 20
Views: 30593

PostForum: General CCS C Discussion   Posted: Sat Feb 02, 2013 9:58 am   Subject: 8x8 dot Matrix not displaying proper message
Gentlemen,
I'm having problem displaying message on my 8x8 dot matrix display. I've modified a small c code rewriting it in C using CCS C compiler. In as far as my hardware is concern, I'm using a pi ...
  Topic: PORTD problem
kein

Replies: 4
Views: 5881

PostForum: General CCS C Discussion   Posted: Fri Jan 11, 2013 8:17 am   Subject: What Am I doing wrong
Gents,
I've declared const unsigned int16 array to store binary switch positions as below. The problem is, the compiler gives errors when I compile the code.

i.e. ***Error 103" main.c" L ...
  Topic: PORTD problem
kein

Replies: 4
Views: 5881

PostForum: General CCS C Discussion   Posted: Fri Jan 11, 2013 12:33 am   Subject: PORTD problem
Thank you so much PCM Programmer.
Regards
 
Page 1 of 7 Goto page 1, 2, 3, 4, 5, 6, 7  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group