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.

help needed with microcontroller newbie and simulation software

Status
Not open for further replies.
ok... so i tried testing OS out i ran this sample program just to test the LEDs

<CODE>
list p=18F452
#include <p18F452.inc>

movlw 0xFF
movwf PORTB

</CODE>

is there something wrong with my code?or something wrong wit my OS specs?
 
I think Oshonsoft is a good simulator, Although i had problems with delay routines. In my opinion Proteus(isis) is the best program on the market.
 
ok... so i tried testing OS out i ran this sample program just to test the LEDs

<CODE>
list p=18F452
#include <p18F452.inc>

movlw 0xFF
movwf PORTB

</CODE>

is there something wrong with my code?or something wrong wit my OS specs?

Well you should look for 18F programming examples. You need to set the TRIS registers and may have to disable built in peripherals before it'll work.

Learning to read a datasheet isn't optional.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top