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.

PIC IDE - Oshon Software

Status
Not open for further replies.

InspEvans

New Member
A very simple question for the Oshon assembler. I have the following that will not assemble -

#include <p16F877a.inc>

__config _DEBUG_OFF & _WDT_OFF & _LVP_OFF & _CP_OFF & _CPD_OFF & _XT_OSC
errorlevel -302 ;suppress bank warning

I have tried every conceivable format (# in front, <> brackets, et al) for the errorlevel but it just won't assemble. When I use MPLBAB Version 8.92, it assembles.

Thanks!

Frank
 
hi,
Try this:
Eric

list p=16f877A ; list directive to define processor
#include <p16F877a.inc>
__config _DEBUG_OFF & _WDT_OFF & _LVP_OFF & _CP_OFF & _CPD_OFF & _XT_OSC

;errorlevel -302
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top