Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Breakthrough!!!

Status
Not open for further replies.

Krumlink

New Member
I redesigned the HELLO WORLD program of bills and It worked! It recognized the 16F88 and I had NO errors except a illegal character!!!

Code:
;*** WDT reset toggles LED2 (RA7)
	List	p=16F88
	include <p16F88.inc>
	__CONFIG _CONFIG1, 0x2F34
	org		0
	bsf		STATUS, RP0
	movlw	b'00001110'
	movwf	OPTION_REG
	movlw	b'00111111'
	movwf	TRISA
	bcf		STATUS, RP0
	movlw	PORTA, f
	sleep
	end

It says:

ERROR [108] Illegal character (,)

Can you find it?

Please, I would really appreciate some help!!!!!!!!!!!!!!
 
Last edited:
Bill, 3v0, Nigel, etc I need help and I am really close to completition!
 
Hey bill, 3v0 is helping me over the phone, so I will talk to you later.
 
The line:
movlw PORTA, f
Should be:
comf PORTA, f
This will toggle all bits on PORTA. I haven't checked for other errors.
 
Last edited:
SUCCESS!!!

I got it working! 3v0 helped me a tiny bit and I figured it out! I am so happy! ITS ALIVE!!!
 
Here it is :D

I am going to make a plaque or something and blow this way out of porportitions!

I have it regulated with a 750M05C LDO, and It uses a 16F88. It uses a crappy little red LED that probably has a millicandela rating of about 2 :D

Camera stopped working :(

There we go got em!
 

Attachments

  • 100_1549.jpg
    100_1549.jpg
    780.3 KB · Views: 184
  • 100_1551.jpg
    100_1551.jpg
    753.9 KB · Views: 177
  • 100_1553.jpg
    100_1553.jpg
    704.8 KB · Views: 187
Last edited:
Nice one.
You sure you didnt take the photo with the LED on and then again with the circuit switched off :)
 
If you notice very closely, nothing is moved, and the connector is still on the 9V. Everything is working perfectly, until the 9V connector leads from radioshack fell off :)
 
Status
Not open for further replies.

New Articles From Microcontroller Tips

Back
Top