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 94 matches
CCS Forum Index
Author Message
  Topic: INT_RA0 get's stuck
ECACE

Replies: 6
Views: 9178

PostForum: General CCS C Discussion   Posted: Fri Oct 25, 2013 7:11 am   Subject: [SOLVED] INT_RA0 get's stuck
Another good catch. Thanks again for your help.
  Topic: INT_RA0 get's stuck
ECACE

Replies: 6
Views: 9178

PostForum: General CCS C Discussion   Posted: Wed Oct 23, 2013 4:34 pm   Subject: INT_RA0 get's stuck
Ok, I'm not sure what I was doing wrong before, but it is working now. Manually clearing the interrupts fixed the problem.

Interrupt code:
#INT_RA
void SupplyEncoderInt(void)
{
...
  Topic: INT_RA0 get's stuck
ECACE

Replies: 6
Views: 9178

PostForum: General CCS C Discussion   Posted: Wed Oct 23, 2013 11:24 am   Subject: INT_RA0 get's stuck
So if I added:

clear_interrupt(INT_RA0_L2H);
clear_interrupt(INT_RA1_L2H);
Would that clear it out? I added them and it did not make a difference.

I even went as far as addin ...
  Topic: INT_RA0 get's stuck
ECACE

Replies: 6
Views: 9178

PostForum: General CCS C Discussion   Posted: Wed Oct 23, 2013 9:39 am   Subject: INT_RA0 get's stuck
Having a problem with a simple encoder wheel and interrupt on the RA lines.

In the setup section, I have turned on the interrupts like such:

enable_interrupts(INT_TIMER1); ...
  Topic: Access violation in ccswatch.dll
ECACE

Replies: 0
Views: 2991

PostForum: General CCS C Discussion   Posted: Thu Sep 22, 2011 4:39 pm   Subject: Access violation in ccswatch.dll
I have recently ran into a problem when I run in debug mode and try to view the contents of an array (Any RAM location actually), where I get the following error whenever I hover the mouse over the ar ...
  Topic: Text Based Menus
ECACE

Replies: 12
Views: 12311

PostForum: General CCS C Discussion   Posted: Thu Sep 16, 2010 7:19 am   Subject: Text Based Menus
Thanks for the detailed info.
  Topic: Text Based Menus
ECACE

Replies: 12
Views: 12311

PostForum: General CCS C Discussion   Posted: Thu Sep 16, 2010 6:39 am   Subject: Text Based Menus
Wayne - Correct, the last char would be the null, so only the 4 would be accepted for command. Hence the last case is if the command did not match one of the defined ones listed in the menu.

Is th ...
  Topic: Text Based Menus
ECACE

Replies: 12
Views: 12311

PostForum: General CCS C Discussion   Posted: Wed Sep 15, 2010 7:19 pm   Subject: Text Based Menus
John,

Very cool. I was unaware about setting it to VT100. Thanks for the info.
  Topic: Text Based Menus
ECACE

Replies: 12
Views: 12311

PostForum: General CCS C Discussion   Posted: Wed Sep 15, 2010 12:36 pm   Subject: Text Based Menus
I have defined the variables up front for the maximum size expected and gave the user the expected ranges. So if they were to put in a value that was too high, it would fail. For example if they wer ...
  Topic: Text Based Menus
ECACE

Replies: 12
Views: 12311

PostForum: General CCS C Discussion   Posted: Wed Sep 15, 2010 11:51 am   Subject: Text Based Menus
Per the Microsoft website, you can not clear the Hyperterminal screen.


While(1)
{
DisplayMenu();
ProcessMenu();
}
} ...
  Topic: How to Decode RC6 protocol
ECACE

Replies: 7
Views: 9418

PostForum: General CCS C Discussion   Posted: Tue Sep 14, 2010 11:55 am   Subject: How to Decode RC6 protocol
Here are some descriptions of it. Second one has code, but for Arduino, you might be able to modify that to work.

http://www.sbprojects.com/knowledge/ir/rc6.htm

http://www.arduino.cc/cgi-bin/y ...
  Topic: turn on led
ECACE

Replies: 10
Views: 12016

PostForum: General CCS C Discussion   Posted: Tue Sep 14, 2010 7:12 am   Subject: turn on led
Take a look in the datasheet for the proper connection of MCLR. If I remember off hand, you can pull it up to 5v via a 4.7K resistor.

As you stated, it works with your one board, but not with the ...
  Topic: turn on led
ECACE

Replies: 10
Views: 12016

PostForum: General CCS C Discussion   Posted: Tue Sep 14, 2010 5:57 am   Subject: turn on led
You probably could use the batteries, as long as they can handle the LED current as well. How about the MCLR pin, what is going on with that one? How is it connected in the protoboard? Did you try ...
  Topic: Stepper motor
ECACE

Replies: 3
Views: 5030

PostForum: General CCS C Discussion   Posted: Tue Sep 14, 2010 5:54 am   Subject: Stepper motor
Not really, the rules apply to the _code_ forum, not here...
This is one of the forums, where 'asking for help' is expected, but _help_, not 'write it for me'...

It was in the code forum and got ...
  Topic: turn on led
ECACE

Replies: 10
Views: 12016

PostForum: General CCS C Discussion   Posted: Mon Sep 13, 2010 11:43 am   Subject: turn on led
How good is your power supply (Is it clean?), also what are you doing with your MCLR pin on the protoboard? You might want to do a test where you change the MCLR pin to be an IO and see if that works ...
 
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