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 49 matches
CCS Forum Index
Author Message
  Topic: Continuity test between ports
Aurbo

Replies: 5
Views: 11319

PostForum: General CCS C Discussion   Posted: Tue Sep 09, 2014 5:48 pm   Subject: Continuity test between ports
I cannot find the cable tester thread you mentioned.

If I understand the theory correctly

1.set both ports as input (tris registers to 0xFF)
2.set a single pin as output and set high
3.set rem ...
  Topic: Continuity test between ports
Aurbo

Replies: 5
Views: 11319

PostForum: General CCS C Discussion   Posted: Sun Sep 07, 2014 2:39 pm   Subject: Continuity test between ports
Thanks for the quick response, and the tip

As for the teacher.. not had to deal with one in nearly 35 years.
  Topic: Continuity test between ports
Aurbo

Replies: 5
Views: 11319

PostForum: General CCS C Discussion   Posted: Sun Sep 07, 2014 2:23 pm   Subject: Continuity test between ports
How would I test a pair of wires connected to RB0-RD0 and RB2-RD2 for continuity and or shorting?

I'm trying to understand how a pair of ports on a single mcu can determine continuity and/or shorti ...
  Topic: I need your opinion in my program that i just wrote. thx u.
Aurbo

Replies: 2
Views: 8593

PostForum: General CCS C Discussion   Posted: Sun Aug 17, 2014 10:23 am   Subject: Re: I need your opinion in my program that i just wrote. thx
Could you demonstrate how you'd take the results and display them on an LCD instead of just LED's?

The LED output looks so mid 2006ish...

Or perhaps how to code the S1 switch bank to use keypad ...
  Topic: Stalling or locking up
Aurbo

Replies: 15
Views: 13550

PostForum: General CCS C Discussion   Posted: Sat Oct 11, 2008 10:09 am   Subject: Stalling or locking up
So far everything is working, Thanks to all that offered help to this noob. Smile

I would like to blank or initialize the circuit each time its powered up,

All digits are cleared and display Zero ...
  Topic: Stalling or locking up
Aurbo

Replies: 15
Views: 13550

PostForum: General CCS C Discussion   Posted: Mon Oct 06, 2008 2:53 pm   Subject: Stalling or locking up
By removing the Temperature code and working strictly on the time, I was able to correct the colon blink routine.

Bringing back in the Temperature routine, it was a simple switch of the remaining t ...
  Topic: Stalling or locking up
Aurbo

Replies: 15
Views: 13550

PostForum: General CCS C Discussion   Posted: Mon Oct 06, 2008 1:20 pm   Subject: Stalling or locking up
Thanks again

I'll peel back the codes until I get just the basics needed to show the colon issue as suggested.

I'll draw up a circuit showing the power input and post at the same time.

Cheers ...
  Topic: Stalling or locking up
Aurbo

Replies: 15
Views: 13550

PostForum: General CCS C Discussion   Posted: Sun Oct 05, 2008 4:46 pm   Subject: Stalling or locking up
PCM
A normal blinky code works fine on it.

Its the code as posted above that causing the problems.


Ttelmah
The smoothing is 12vdc through a 0.1uf and 100uf/16v before the 7805 and a 0.1uf af ...
  Topic: Stalling or locking up
Aurbo

Replies: 15
Views: 13550

PostForum: General CCS C Discussion   Posted: Sun Oct 05, 2008 9:55 am   Subject: Stalling or locking up
Pin_B4 connects to a 1K resistor which is connected to a 2N3904 base pin.

2N3904 Collector connects to a 12VDC source.

2N3904 Emitter connects to 2 standard red LED's 2.2v 20ma in series.

The ...
  Topic: Stalling or locking up
Aurbo

Replies: 15
Views: 13550

PostForum: General CCS C Discussion   Posted: Sun Oct 05, 2008 7:15 am   Subject: Stalling or locking up
If I comment out ALL theoutput_high(COLON);
and output_low(COLON); Pin_B4 defined as COLON will stay high and the LED's on it will remain lit.

If I return only 1 command for COLON ...
  Topic: Stalling or locking up
Aurbo

Replies: 15
Views: 13550

PostForum: General CCS C Discussion   Posted: Sat Oct 04, 2008 10:09 pm   Subject: Stalling or locking up
Thanks for the help Andrew.

Pull-ups have always been in place.

Removed the delay in the #int_ext routine, and so far no lock ups show on 3 of the 4 pics in question.. the 4th may just be a bad ...
  Topic: Stalling or locking up
Aurbo

Replies: 15
Views: 13550

PostForum: General CCS C Discussion   Posted: Sat Oct 04, 2008 11:34 am   Subject: Stalling or locking up
Greetings,

This is a continuation to the issues I've been encountering with my clock project.

What might cause a code to stall or lock up?

I have one 16F628A thats working fine, and doing exa ...
  Topic: Something funky happening with Pickit2
Aurbo

Replies: 2
Views: 4553

PostForum: General CCS C Discussion   Posted: Fri Oct 03, 2008 11:49 am   Subject: Something funky happening with Pickit2
Thanks for the tips Rohit,

I've upgraded my PicKit2 software and its hex file.

I always write down the checksum when I'm compiling and writng to the chip, just to make sure. I'll watch for it on ...
  Topic: Something funky happening with Pickit2
Aurbo

Replies: 2
Views: 4553

PostForum: General CCS C Discussion   Posted: Thu Oct 02, 2008 10:09 pm   Subject: Something funky happening with Pickit2
Sorry to be such a noob here but I'm still learning this stuff.

As I type this, my Sixca.com digital clock/temp project is running on the desk beside me.

I used CCS 4.069 to compile the .c code ...
  Topic: DS18S20 & DS18B20 Codes
Aurbo

Replies: 54
Views: 651903

PostForum: Code Library   Posted: Wed Oct 01, 2008 6:05 pm   Subject: DS18S20 & DS18B20 Codes
If I wanted to convert this to Fahrenheit I'd need to convert the "whole number part"

//calculate the whole number part
temperature = (temp >> 4) & 0x00FF;
//co ...
 
Page 1 of 4 Goto page 1, 2, 3, 4  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group