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 479 matches
CCS Forum Index
Author Message
  Topic: Free replacement for MPLABX as IDE?
PrinceNai

Replies: 13
Views: 1701

PostForum: General CCS C Discussion   Posted: Fri Nov 29, 2024 3:26 pm   Subject: Free replacement for MPLABX as IDE?
For me the only thing that matters is that the chip is old enough to be supported by MPLAB. MPLABX is or will be the reason to switch to something else. There are cheaper and more powerful options wit ...
  Topic: Timer0 and timer1 frequency puls
PrinceNai

Replies: 13
Views: 1579

PostForum: General CCS C Discussion   Posted: Sat Nov 23, 2024 2:11 pm   Subject: Timer0 and timer1 frequency puls
For example, 18f46k22 costs less than 5€. If this is a one-off thing, it will be way, way cheaper to invest those 5€ in it and not into 200 hours of development time just to go around the limitati ...
  Topic: 16F1823 IOC interrupt
PrinceNai

Replies: 16
Views: 3225

PostForum: General CCS C Discussion   Posted: Mon Nov 04, 2024 6:56 pm   Subject: 16F1823 IOC interrupt
For the forum. What is working and what you did to make it work? Maybe your code? It will help others for sure.
  Topic: 16F1823 IOC interrupt
PrinceNai

Replies: 16
Views: 3225

PostForum: General CCS C Discussion   Posted: Mon Nov 04, 2024 4:59 pm   Subject: 16F1823 IOC interrupt
False contacts? Do yo mean debouncing?
  Topic: 16F1823 IOC interrupt
PrinceNai

Replies: 16
Views: 3225

PostForum: General CCS C Discussion   Posted: Mon Nov 04, 2024 4:24 pm   Subject: 16F1823 IOC interrupt
Maybe this could be under sticky. The code does what you wrote, not what you thought it would do
  Topic: 16F1823 IOC interrupt
PrinceNai

Replies: 16
Views: 3225

PostForum: General CCS C Discussion   Posted: Mon Nov 04, 2024 3:48 pm   Subject: 16F1823 IOC interrupt
As always, the basic 1s blink led is useful to tell if timings and settings are ok and that your Pic is alive. An example is maybe two threads down. So two questions. Does your Pic work with the desir ...
  Topic: 16F1823 IOC interrupt
PrinceNai

Replies: 16
Views: 3225

PostForum: General CCS C Discussion   Posted: Mon Nov 04, 2024 3:45 pm   Subject: 16F1823 IOC interrupt
Not entering and not working correctly isn't the same :-). How do you check if the interrupt was ever fired? In your code pull-ups are not enabled (commented out).
  Topic: 16F1823 IOC interrupt
PrinceNai

Replies: 16
Views: 3225

PostForum: General CCS C Discussion   Posted: Mon Nov 04, 2024 2:41 pm   Subject: 16F1823 IOC interrupt
As a side note. Main should do all the heavy work, interrupts are there just to tell the main what to do. It depends on what you are trying to control, but it is always a good idea to run your pic as ...
  Topic: 16F1823 IOC interrupt
PrinceNai

Replies: 16
Views: 3225

PostForum: General CCS C Discussion   Posted: Mon Nov 04, 2024 2:15 pm   Subject: 16F1823 IOC interrupt
Maybe I'm wrong, but I feel that your logic is not the soundest here. What is the point of checking if the interrupt is active once you are already there? It seems by the way you coded it, it will arr ...
  Topic: IGT SAS (Slot Accounting System) protocol
PrinceNai

Replies: 25
Views: 67929

PostForum: General CCS C Discussion   Posted: Thu Sep 19, 2024 8:27 am   Subject: IGT SAS (Slot Accounting System) protocol
It means thanks for the info in Turkish :-)
  Topic: Advice on multiplying - use a PIC with hardware multiplier?
PrinceNai

Replies: 14
Views: 4304

PostForum: General CCS C Discussion   Posted: Sat Sep 14, 2024 5:32 pm   Subject: Advice on multiplying - use a PIC with hardware multiplier?
I'm afraid AI is attacking. Call me old, call me paranoid. But there is a movie called Strange Days. Where they say: It is not a question whether you are paranoid, the question is if whether you are p ...
  Topic: Advice on multiplying - use a PIC with hardware multiplier?
PrinceNai

Replies: 14
Views: 4304

PostForum: General CCS C Discussion   Posted: Sat Sep 14, 2024 5:20 pm   Subject: Advice on multiplying - use a PIC with hardware multiplier?
At odds to be an ignorant. You have a very fast changing input, telling you where the stepper should move. But no one knows compared to what. A kind of unusual scaling factor coming from an even slowe ...
  Topic: Advice on multiplying - use a PIC with hardware multiplier?
PrinceNai

Replies: 14
Views: 4304

PostForum: General CCS C Discussion   Posted: Sat Sep 14, 2024 4:28 pm   Subject: Advice on multiplying - use a PIC with hardware multiplier?
I hope I understood your problem correctly. Compare two numbers, two series of ones and zeroes. Then an action based on that. Float is just an interpretation, but the actual registers don't hold float ...
  Topic: Advice on multiplying - use a PIC with hardware multiplier?
PrinceNai

Replies: 14
Views: 4304

PostForum: General CCS C Discussion   Posted: Sat Sep 14, 2024 12:57 pm   Subject: Advice on multiplying - use a PIC with hardware multiplier?
Hi,

By all means, switch to a faster PIC. There must be a way of doing it with integers. Could you show an example with real world numbers? What you read and where you want the stepper to go?
  Topic: Capture Mode Input Frequency Measurement
PrinceNai

Replies: 28
Views: 8153

PostForum: General CCS C Discussion   Posted: Thu Sep 05, 2024 8:44 am   Subject: Capture Mode Input Frequency Measurement
There is also a debugging aspect. I like to be 100% confident my hardware works. So when I chase down the issues I can be sure it is because of something I wrote or didn't read the datasheet as I shou ...
 
Page 1 of 32 Goto page 1, 2, 3 ... 30, 31, 32  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group