Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Proton basic not working

Status
Not open for further replies.

amodpathak

Newbie level 2
Joined
Oct 16, 2017
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
17
hi,

Iam new to proton basic.I downloaded Proton Basic 3.6.0.0 .

My Program Led Blink is not working.

Device=16F886

Code:
Xtal 4 
TRISC=%00000000
All_Digital TRUE

Symbol LED = PORTC.4 

loop1: 
    High LED 
    DelayMS 1000
    Low LED
    DelayMS 1000
GoTo loop1

iam using Pickit2 programmer and i manually import hex to device.
 
Last edited by a moderator:

Re: proton basic not working

I've never used Proton BASIC but looking at some example programs on their web site they start with:
Code:
    Device = 16F886
    Declare Xtal= 4
or similar. Maybe these are needed in your program.

Brian.
 

Re: proton basic not working

I tried with this also.still not working.

I tried with Picbasic pro my program worked.

The hex generated by pbp and proton basic are different.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top