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 20 matches
CCS Forum Index
Author Message
  Topic: I/O on 16F819
BMaxwell

Replies: 6
Views: 20448

PostForum: General CCS C Discussion   Posted: Wed Sep 22, 2004 12:33 pm   Subject: ROFL - Im an idiot
Try this line and dont laugh to much PCM. if(input(PIN_B3==1))
ROFL suppose to be if(input(PIN_B3)==1) woops. No wonder it hanged. Lol talk about a mistake. Anyways thanks for the help, you are the ...
  Topic: Trouble getting two PICs to communicate via "RS232"
BMaxwell

Replies: 12
Views: 21487

PostForum: General CCS C Discussion   Posted: Wed Sep 22, 2004 12:30 pm   Subject: Known problems I have had.
Hey sounds familiar. I would try turning off watchdog timer if ya can. Also try using getc(). Lastly make sure both are TTL levels. Sounds like one of your pics has a uart, that may be different level ...
  Topic: I/O on 16F819
BMaxwell

Replies: 6
Views: 20448

PostForum: General CCS C Discussion   Posted: Tue Sep 21, 2004 5:01 pm   Subject: Pin_B3 either resets, or does not read at all when it goes h
When its connected to PIN_B3 it doesnt read the high at all and does not update until the PIN goes low again. Its like it cause a halt or something.
I changed the PIn to B4 and A2 however these did n ...
  Topic: I/O on 16F819
BMaxwell

Replies: 6
Views: 20448

PostForum: General CCS C Discussion   Posted: Tue Sep 21, 2004 4:41 pm   Subject: I/O on 16F819
Im getting perfect I/O on PINS B0,B1,B2 but on pin B3 its messing up big time. I tried to turn off low voltage programming. I also tried changing pins but it either resets the PIC or gives eronious da ...
  Topic: Problems with RS232
BMaxwell

Replies: 10
Views: 17989

PostForum: General CCS C Discussion   Posted: Tue Aug 31, 2004 1:01 pm   Subject: Here ya go PCM
LanTronix - CoBox Micro C0-E1-11AA www.lantronix.com
I have tested this system by connection its ttl transmit and receive together and hyper terminaling to its 10001 port. This works fine the charact ...
  Topic: Problems with RS232
BMaxwell

Replies: 10
Views: 17989

PostForum: General CCS C Discussion   Posted: Tue Aug 31, 2004 11:43 am   Subject: Hair pulling time!
Well I got the RS 232 to work with a MAX 233 chip in the basic RS232 mode. But when i use a basic 74S04 with the serial to ethernet converter, I got all the original problems. I dont think i can use ...
  Topic: Problems with RS232
BMaxwell

Replies: 10
Views: 17989

PostForum: General CCS C Discussion   Posted: Thu Aug 26, 2004 10:39 am   Subject: Answer to your questions
1. You still need to show your #fuses statement, or list the config bits
settings that you're using with your programmer.

Osc - HS, Watchdog timer - disabled, Power up timer - disabled, Mclr - R ...
  Topic: Problems with RS232
BMaxwell

Replies: 10
Views: 17989

PostForum: General CCS C Discussion   Posted: Wed Aug 25, 2004 3:05 pm   Subject: Here is the info you requested
The compiler version is 3.148. The code from the actual c file reads like this

#include <16F819.H>


#use delay(clock=8000000)
#use rs232(baud=19200, xmit=PIN_A1, rcv=PIN_A0,RESTART_ ...
  Topic: Problems with RS232
BMaxwell

Replies: 10
Views: 17989

PostForum: General CCS C Discussion   Posted: Wed Aug 25, 2004 2:05 pm   Subject: Problems with RS232
Im having problems with getc specifically. I can putc a character and have no problems. But when i try a putc(getc()); I get out output that looks like a clock signal. When i depress a key i see the s ...
  Topic: Problems with rebooting....help
BMaxwell

Replies: 4
Views: 11853

PostForum: General CCS C Discussion   Posted: Wed Jun 02, 2004 5:46 pm   Subject: It was the puts statements
I changed those to printf(""); and it seemed to work alot better.
Thanks for the help guys.
Bryan
  Topic: Problems with rebooting....help
BMaxwell

Replies: 4
Views: 11853

PostForum: General CCS C Discussion   Posted: Wed Jun 02, 2004 4:56 pm   Subject: Thanks
Well I turned off the watchdog_timer, but now when i press 'a', 'b', or 'c' it just reboots. Is there a flaw in my logic? spam this is killing me. Thanks in advance guys.
Bryan
  Topic: Problems with rebooting....help
BMaxwell

Replies: 4
Views: 11853

PostForum: General CCS C Discussion   Posted: Wed Jun 02, 2004 4:08 pm   Subject: Problems with rebooting....help
Im using a PIC 16F819 with a 8Mhz clock. Im using a very simple code and it keeps rebooting the pic. Here is the code, this was made very fast so im sure there is errors somwehere but im hyped on caff ...
  Topic: Problems with output_high
BMaxwell

Replies: 12
Views: 22706

PostForum: General CCS C Discussion   Posted: Mon May 10, 2004 3:04 pm   Subject: BMaxwell
I tried explicity setting Port A and it still does not work? Bad chip? Would you like me to send you my code prawtCCS. It would be a huge post if i put it here. Smile I tried it with fast_io and without ...
  Topic: Problems with output_high
BMaxwell

Replies: 12
Views: 22706

PostForum: General CCS C Discussion   Posted: Mon May 10, 2004 2:40 pm   Subject: Still not working
I tried unplugging the PIN from my level converter and it still goes low, i even put in a delay_us(500); and still get the same response. My list files is the same as yours except at the end mine does ...
  Topic: Problems with output_high
BMaxwell

Replies: 12
Views: 22706

PostForum: General CCS C Discussion   Posted: Mon May 10, 2004 2:07 pm   Subject: Here ya go
#use rs232(baud=19200, xmit=PIN_A1, rcv=PIN_A0)

I do not set up port A anywhere else. PIN A2 is suppose to be my cts control line for my computer. Thanks in advance
Bryan
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group