Author |
Message |
Topic: Number of Breakpoints. |
gtx15
Replies: 2
Views: 4443
|
Forum: General CCS C Discussion Posted: Wed Nov 29, 2023 6:17 am Subject: Number of Breakpoints. |
Thank you! |
Topic: Number of Breakpoints. |
gtx15
Replies: 2
Views: 4443
|
Forum: General CCS C Discussion Posted: Tue Nov 28, 2023 7:32 pm Subject: Number of Breakpoints. |
Im using the ICD80 in debug mode. Using a Pic16f1705. Im only able to get 1 breakpoint in debugging. is this correct? |
Topic: Variables |
gtx15
Replies: 3
Views: 12647
|
Forum: General CCS C Discussion Posted: Sat Nov 28, 2020 7:19 am Subject: Variables |
Found a way. If I comment out the declare line for that variable I get errors whenever that variable is used when compiling. |
Topic: Variables |
gtx15
Replies: 3
Views: 12647
|
Forum: General CCS C Discussion Posted: Sat Nov 28, 2020 5:46 am Subject: Variables |
Is there a way to see where a certain variable is used through out my program?
For example a variable called "c". I just cant search for "c" because it also in comments.
Thanks ... |
Topic: Proper Coding |
gtx15
Replies: 5
Views: 15195
|
Forum: General CCS C Discussion Posted: Sat Aug 29, 2020 7:41 am Subject: Proper Coding |
Where can I learn Proper coding?
When to capitalize, When to indent, I just heard to use i then k in for loops. |
Topic: constant or integer |
gtx15
Replies: 5
Views: 14366
|
Forum: General CCS C Discussion Posted: Mon Jul 27, 2020 8:53 am Subject: constant or integer |
The program actually works. I probably simplified it too much.
int voltages[] = {0x52,0x61,0x86,0xC1}; // for switching port b outputs
int results[4]
FOR (x=0; ... |
Topic: constant or integer |
gtx15
Replies: 5
Views: 14366
|
Forum: General CCS C Discussion Posted: Mon Jul 27, 2020 7:54 am Subject: constant or integer |
int voltages[] = {0x52,0x61,0x86,0xC1};
// Is this the correct way to declare this ?
FOR (x=0;x < 4; ++x ) {
volts = voltages[x] ;
... |
Topic: US2066 Driver. |
gtx15
Replies: 2
Views: 14028
|
Forum: General CCS C Discussion Posted: Thu Jul 02, 2020 1:11 pm Subject: US2066 Driver. |
Anyone know of a US2066 Driver ? I'm messing around with a 4x20 NHD oled with no luck. |
Topic: Oled Display |
gtx15
Replies: 4
Views: 14468
|
Forum: General CCS C Discussion Posted: Sun Jun 28, 2020 5:23 am Subject: Oled Display |
I saw that and have changed them to 0x00, 0x20, ox40, and 0x60 . Seems to have no effect. |
Topic: Oled Display |
gtx15
Replies: 4
Views: 14468
|
Forum: General CCS C Discussion Posted: Sun Jun 28, 2020 3:47 am Subject: Oled Display |
I replaced a 2x20 LCD HD44780 chipset with this "NHD-0420CW" 4X20 Oled Display. Im able to initialize it and writes to it works, problem is goto x,y and /n carriage returns do nothing. I'm u ... |
Topic: Changing trisa causes reset |
gtx15
Replies: 5
Views: 14539
|
Forum: General CCS C Discussion Posted: Mon Jun 08, 2020 5:00 pm Subject: Changing trisa causes reset |
#include <erase.h>
void main()
{
while(TRUE)
{
set_tris_b (0x0f);
set_tris_c (0x80);
set_tris_d (0xb0);
set_t ... |
Topic: Changing trisa causes reset |
gtx15
Replies: 5
Views: 14539
|
Forum: General CCS C Discussion Posted: Mon Jun 08, 2020 10:47 am Subject: Changing trisa causes reset |
Using a 18F46K22 the device during initialization resets/loses flow when I change trisa values with a 2.5 uf cap from pin a0 to pin a1. If i remove the cap or even put a short from a0 to a1 it works ... |
Topic: Long Interrupt |
gtx15
Replies: 2
Views: 9574
|
Forum: General CCS C Discussion Posted: Sat Feb 15, 2020 6:34 pm Subject: Long Interrupt |
Trying to find a easy way to create a @ 1 minute interrupt. Must I use multiple shorter interrupts and count them?
Thank You. |
Topic: Debugger Watches |
gtx15
Replies: 1
Views: 8346
|
Forum: General CCS C Discussion Posted: Sat Dec 28, 2019 9:29 pm Subject: Debugger Watches |
I'm trying to use the expression field in the debugger to do some calculations. I can't seem to get float results. In the expression I did a simple 6/5 and selected either float or binary. Both result ... |
Topic: Debug Snapshot |
gtx15
Replies: 1
Views: 8172
|
Forum: General CCS C Discussion Posted: Tue Dec 10, 2019 1:32 pm Subject: Debug Snapshot |
Trying to understand the snapshot feature in debug menu. Looks like it can save register values of different accessories. ADC, Ports. tris...
Can't seem to get it to do much though. Can't find much h ... |
|