Author |
Message |
Topic: Hyperterminal or CCS Serial Port Monitor versus debugger |
JimB
Replies: 6
Views: 14510
|
Forum: General CCS C Discussion Posted: Sat Aug 15, 2009 2:03 pm Subject: Fixed the first printf() problem |
I fixed the first printf() problem. In that one I control the RS232 transceiver to conserve battery power. I just had it turned off. Duh.
However, the second problem that occurs inside of the wh ... |
Topic: Hyperterminal or CCS Serial Port Monitor versus debugger |
JimB
Replies: 6
Views: 14510
|
Forum: General CCS C Discussion Posted: Wed Aug 12, 2009 2:07 pm Subject: How to implement the pushbutton |
Since there will not be a pushbutton. How would you recommend simulating that? Remember it behaves differently when pushed quickly for a single reading than when it is held down for multiple reading ... |
Topic: Hyperterminal or CCS Serial Port Monitor versus debugger |
JimB
Replies: 6
Views: 14510
|
Forum: General CCS C Discussion Posted: Wed Aug 12, 2009 12:56 pm Subject: Hyperterminal or CCS Serial Port Monitor versus debugger |
The inital print statements are as follows:
setup_adc_ports(AN0_AN1_VSS_VREF);
setup_adc(ADC_CLOCK_DIV_8);
set_adc_channel(1);
delay_ms(300);
batvolt = read_adc& ... |
Topic: Hyperterminal or CCS Serial Port Monitor versus debugger |
JimB
Replies: 6
Views: 14510
|
Forum: General CCS C Discussion Posted: Wed Aug 12, 2009 12:00 pm Subject: Hyperterminal or CCS Serial Port Monitor versus debugger |
I have a project that prints a couple of outputs then enters a "while" loop that prints out data when a button is pushed. All works fine when I use the debugger monitor to read the printf() ... |
Topic: Flexible LCD driver for 20x4 LCDs |
JimB
Replies: 33
Views: 422423
|
Forum: Code Library Posted: Tue Dec 12, 2006 4:07 pm Subject: Why the read capability using an LCD |
I'm curious as to why one would want to read from the LCD? What purpose does this have? |
Topic: Options for waking up a 16LF877A while in sleep() mode? |
JimB
Replies: 7
Views: 7311
|
Forum: General CCS C Discussion Posted: Fri Oct 20, 2006 2:57 pm Subject: Options for waking up a 16LF877A while in sleep() mode? |
I think that there is information here that will help me, but some clarification is needed. From the previous help statements, I think that it is being assumed that the CCP1 timer runs all the time, ... |
Topic: Options for waking up a 16LF877A while in sleep() mode? |
JimB
Replies: 7
Views: 7311
|
Forum: General CCS C Discussion Posted: Thu Oct 12, 2006 1:32 pm Subject: Options for waking up a 16LF877A while in sleep() mode? |
I am using the 16LF877A device in my project. I have a single pushbutton going to pin 24 (RA2). I have a square wave signal generated by the micro, fed back to pin 8 (RB0/INT). Now I want to use th ... |
Topic: A/D data acting peculiarly. |
JimB
Replies: 11
Views: 13249
|
Forum: General CCS C Discussion Posted: Thu Jun 15, 2006 1:49 am Subject: A/D data acting peculiarly. |
1. Vref is 2.440 Volts. This is supplied by the internal reference of a MAX5532, a dual D/A which has an internal reference voltage with a choice of 4 programmable values.
2. The reference volta ... |
Topic: A/D data acting peculiarly. |
JimB
Replies: 11
Views: 13249
|
Forum: General CCS C Discussion Posted: Wed Jun 14, 2006 9:54 pm Subject: A/D data acting peculiarly. |
PCM Programmer,
I checked my programs this evening. I have two that I am working with and sure enough the BROWNOUT is listed in the FUSES directive. The battery voltage is at 3.156 V and the progra ... |
Topic: A/D data acting peculiarly. |
JimB
Replies: 11
Views: 13249
|
Forum: General CCS C Discussion Posted: Tue Jun 13, 2006 12:20 am Subject: A/D data acting peculiarly. |
I am attempting to generate values to plot a curve. I am reading a waveform that has the general shape of an exponential decay. I take a 32 reading average at each point then increase the delay 1 us ... |
Topic: Any reason why my A/D data is cyclic? |
JimB
Replies: 5
Views: 8324
|
Forum: General CCS C Discussion Posted: Tue May 30, 2006 12:00 am Subject: Any reason why my A/D data is cyclic? |
I am getting data out of the A/D that is cyclic in nature. I am generating a 5.122 KHz square wave with the PWM output. I then feed back this same square wave to use as an interrupt to read the A/D. ... |
Topic: What's the trick to get a program to run standalone. |
JimB
Replies: 5
Views: 8031
|
Forum: General CCS C Discussion Posted: Mon May 01, 2006 11:40 am Subject: What's the trick to get a program to run standalone. |
Answer regarding the ICD monitor function. I just received an email from CCS.
"The ICD unit does not recognise the user data (B3) at low voltages. This is a flaw in the design. We should have a ... |
Topic: What's the trick to get a program to run standalone. |
JimB
Replies: 5
Views: 8031
|
Forum: General CCS C Discussion Posted: Sun Apr 30, 2006 9:04 pm Subject: Am using the ICD-40U. |
Sorry for not stating that I am using the CCS ICD-40U, the USB programmer. I have done standalone before no problem, now I'm missing something.
Also I changed a setting that allows the ICD Monitor ... |
Topic: What's the trick to get a program to run standalone. |
JimB
Replies: 5
Views: 8031
|
Forum: General CCS C Discussion Posted: Sat Apr 29, 2006 7:39 pm Subject: What's the trick to get a program to run standalone. |
I am not able to get my program to run when loading it for stand alone operation. I have removed the "ICD=TRUE" statement. I downloaded the new recompiled program. All the messages indicate that it ... |
Topic: Tips on trouble shooting a 3V LCD using a NT7603 Controller? |
JimB
Replies: 11
Views: 15721
|
Forum: General CCS C Discussion Posted: Thu Apr 27, 2006 1:46 pm Subject: Tips on trouble shooting a 3V LCD using a NT7603 Controller? |
I don't have the data sheeet for the DV3002.... here at my day job, but it is designed to operate from a 3.3V battery (3.1V min for the LCD). I believe it may be a custom design just for this job. T ... |
|