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 9 matches
CCS Forum Index
Author Message
  Topic: H E L P - 12F629 LED BLINK CODE NEEDED, PLEASE, PLEASE
Funky_Banana

Replies: 38
Views: 55305

PostForum: General CCS C Discussion   Posted: Fri Aug 18, 2006 10:56 am   Subject: H E L P - 12F629 LED BLINK CODE NEEDED, PLEASE, PLEASE
Guys im ready to slit my wrists. I just want a bloody led to flash on a pic 12f629 and im finding it so difficult.

Ive pasted the code into CCS and clicked compile, it then spits out a hex file. I ...
  Topic: H E L P - 12F629 LED BLINK CODE NEEDED, PLEASE, PLEASE
Funky_Banana

Replies: 38
Views: 55305

PostForum: General CCS C Discussion   Posted: Wed Aug 16, 2006 4:55 pm   Subject: H E L P - 12F629 LED BLINK CODE NEEDED, PLEASE, PLEASE
Excellant, im learning fast! Ill be better than you lot before you know it lol!

so far
output_high(PIN_A0);
switches A0 High!

Is there a quick way of switching multiple pins high in 1 go. ...
  Topic: H E L P - 12F629 LED BLINK CODE NEEDED, PLEASE, PLEASE
Funky_Banana

Replies: 38
Views: 55305

PostForum: General CCS C Discussion   Posted: Wed Aug 16, 2006 4:26 pm   Subject: H E L P - 12F629 LED BLINK CODE NEEDED, PLEASE, PLEASE
When the pic starts up are all pins set at low, Because the above code says sets RA0 High, so I presume it is low when first switch on. Or do they float and its pot luck?

Im so sorry to keep asking ...
  Topic: H E L P - 12F629 LED BLINK CODE NEEDED, PLEASE, PLEASE
Funky_Banana

Replies: 38
Views: 55305

PostForum: General CCS C Discussion   Posted: Wed Aug 16, 2006 4:12 pm   Subject: H E L P - 12F629 LED BLINK CODE NEEDED, PLEASE, PLEASE
pcm programmer, many thanks, that compiled first time, this is furthest ive got! I will make it now and see if the led flashes, then i can have a play with the code.

I will try and find that book a ...
  Topic: H E L P - 12F629 LED BLINK CODE NEEDED, PLEASE, PLEASE
Funky_Banana

Replies: 38
Views: 55305

PostForum: General CCS C Discussion   Posted: Wed Aug 16, 2006 3:26 pm   Subject: H E L P - 12F629 LED BLINK CODE NEEDED, PLEASE, PLEASE
Im running CCS C IDE Version 4.43 if this helps.

Im clicking new, creting a new file in new folder, then I get blank page, im then pasting the above code into there and then clicking compile (F9)
  Topic: H E L P - 12F629 LED BLINK CODE NEEDED, PLEASE, PLEASE
Funky_Banana

Replies: 38
Views: 55305

PostForum: General CCS C Discussion   Posted: Wed Aug 16, 2006 3:15 pm   Subject: H E L P - 12F629 LED BLINK CODE NEEDED, PLEASE, PLEASE
When I try and compile the above code it says in red bar at bottom of program: Expect ;

and it higlights: while from the line: while (1)//starts an infinite loop

viod and while is also in ...
  Topic: H E L P - 12F629 LED BLINK CODE NEEDED, PLEASE, PLEASE
Funky_Banana

Replies: 38
Views: 55305

PostForum: General CCS C Discussion   Posted: Wed Aug 16, 2006 3:03 pm   Subject: H E L P - 12F629 LED BLINK CODE NEEDED, PLEASE, PLEASE
Many thanks Thomas,

I will attemt that code now!!!!!!1

you wrote 'makes room for ICD if youre using that'

What is ICD? im a real beginner!

Is there any good tutorial website you know of wh ...
  Topic: H E L P - 12F629 LED BLINK CODE NEEDED, PLEASE, PLEASE
Funky_Banana

Replies: 38
Views: 55305

PostForum: General CCS C Discussion   Posted: Wed Aug 16, 2006 1:26 pm   Subject: Re: H E L P - 12F629 LED BLINK CODE NEEDED, PLEASE, PLEAS
ALSO, If somebody can help with this can you also tell me what pin to connect the led to and where that pin is referenced to in the code?

Thanx
  Topic: H E L P - 12F629 LED BLINK CODE NEEDED, PLEASE, PLEASE
Funky_Banana

Replies: 38
Views: 55305

PostForum: General CCS C Discussion   Posted: Wed Aug 16, 2006 1:24 pm   Subject: H E L P - 12F629 LED BLINK CODE NEEDED, PLEASE, PLEASE
Hi,

im new to this forum and just come across it!

I havnt a clue with pic programming and am very keen to learn. Im very good with electronics and have made many pic projects but never understoo ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group