Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

msp430 experimenters board with msp430fg461\ micro on it

$
0
0

hi I have a board and have downloaded the software I am trying to run this code from the examples

#include"msp430x20x3.h"

ORG 0F800h ; Program start

RESET mov.w #280h,SP ; Stack

mov.w #WDTPW+WDTHOLD,&WDTCTL ; Stop watchdog

bis.b #01h,&P1DIR

Mainloop xor.b #01h,&P1OUT

Delay dec.w R15

jnz Delay

jmp Mainloop

ORG 0FFFEh ; RESET vector

DW RESET

END

it compiles with 10 errors. this is the code that comes in the examples pack please help


Viewing all articles
Browse latest Browse all 262198

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>