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.
 

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.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…