MEL PICBASIC Forum - MELabs PICBASIC

• ### Recent Forum Posts

#### Re: Newbie Manchester Coding question

Looks straight forward, esp if you use a chip with gate control and can set a timer to count in 1uS increments

what did you have in mind ?

richard Today, 08:05

#### Re: Watchdog timer not working as expected

From the PB3 manual

2.15 Case Sensitivity
PBP is not case sensitive, but Assembly Language is. This means that there are
situations where case matters

2.15.1 DEFINEs
Since many of the...

aerostar Today, 06:30

#### Re: Newbie Manchester Coding question

Apologies, I was beginning to think nobody was responding so it's been couple of days since I've checked.

They're old temperature sensors I picked up cheap and I was hoping to utilise for a...

rocket_troy Today, 06:08

#### Re: Complex math on 16F series?

Check this one first:

and then check this one second:
http://dt.picbasic.co.uk/CODEX/N-BitMath

or reverse the order.

sayzer Yesterday, 22:10

#### Complex math on 16F series?

d = 1 / ((x1 - x2) * (x1 - x3) * (x2 - x3));
a = d * (x1 * (y3 - y2) + x2 * (y1 - y3) + x3 * (y2 - y1));
b = d * (x1 * x1 * (y2 - y3) + x2 * x2 * (y3 - y1) + x3 * x3 * (y1 - y2));
c = d * (x1 * x2...

CuriousOne Yesterday, 21:17

#### Re: Help with Using the Catalex MP3 Player

Nice one Brek! Forgot there was that second switch.

Ioannis

Ioannis Yesterday, 19:44

#### Re: Help with Using the Catalex MP3 Player

There’s another switch contact on the rotary dial to tell you the dial is in the home position doing nothing.
The dial switch does nothing while the dial is being rotated clockwise by the finger so...

Art Yesterday, 17:43

#### Re: Watchdog timer not working as expected

If you haven’t tied your MCLR pin high or disabled it, you could get an MCLR reset any time.
Same with a brownout reset. I haven’t checked this hex configuration values you gave (nobody is going to...

Art Yesterday, 17:33

#### Re: Si4702 FM Radio chip

My code in here is probably more sensible for PBP. In code examples is dirty to get most out of 16F628a.

Up to you, but that DT code link above is an otherwise lost original I think (which I...

Art Yesterday, 17:06

#### Re: Watchdog timer not working as expected

I think define should be UPPER CASE.

aerostar Yesterday, 15:33
• # MELabs PICBASIC

PICBASIC PRO™ Compiler 3.0 PBP is a BASIC programming language for Microchip's PIC microcontrollers.

Version 3 is a major evolution of this popular product, making it even more capable, stable, and reliable. All the years of development culminate here, with many new capabilities and improvements. Come see why thousands of engineers, educators and hobbyists have depended on PBP for more than a decade.
• Supports more than 500 microcontrollers.
• Newly revised 300-page manual.
• MPLABX compatible

Software activation keys are delivered electronically after purchase.
15 Day Trial Before Activation Key is Required

If installed without an activation code, the software will be fully functional for 15 days.

PBP 3.0 Gold Edition
Price: £171.94
Supports more than 500 devices.
 PBP 3.0 Silver Edition Price: £76.40 Supports Mid-Range devices.
PBP 3.0 Experimenter Edition
Price: £31.82
Supports 16F886, 18F2550, 18F25K20, and 18F25K22.
PBP Manual and CD
Price: £19.07
Printed Reference Manual and Installation CD.

Number of computer installations allowed 3
(May be uninstalled and moved. License is for single user.)
Number of computer installations allowed 3
(May be uninstalled and moved. License is for single user.)
Number of computer installations allowed 1
(May be uninstalled and moved. License is for single user.)
Maximum supported clock frequency 64Mhz
Maximum supported clock frequency 20Mhz
Maximum supported clock frequency 64Mhz
Compatible with Amicus18 Development System Compatible with Amicus18 Development System A perfect companion to the Amicus18 Development System

### What is PBP?

PBP is a BASIC programming language for Microchip's PIC microcontrollers.

It has evolved over the span of 15 years, making it the industry standard in its field. It has become a professional-level development tool for embedded programmers, though it retains the easy-to-learn syntax that makes it popular among experimenters and educators worldwide.
...

### Compare Editions

PBP3 is available in THREE editions, Chose the right one for YOU!. From Experimenter - enough for the hobbyist through Silver & GOLD - strong enough for a Pro. Including commercial licenses and annual update packages.
...

### Technical Information

PBP is a mature BASIC compiler for Microchip's PIC microcontrollers. Its licensed user base of 10,000+ is composed mostly of engineers and companies. It is intended to be a professional development tool, though its painless syntax also makes it a favorite among hobbyists and institutions of learning.

PBP generates Assembly language that consists of hand-tuned macros and library routines. This laborious approach in development makes for extreme efficiency in handling operations with a variety of variable types. Each math and comparison operation is generated according to the specific variable types that are used as inputs and output. High-level commands are included as library routines that are reused to minimize code space consumption, and these routines are tuned based on the device's memory characteristics and selected oscillator frequency.
...

### Features

PICBASIC PRO™ Compiler 3.0
• Familiar BASIC syntax
• IF (condition) THEN / ELSE / ELSEIF /ENDIF
• SELECT CASE
• FOR… NEXT
• DO WHILE/UNTIL
...

### MicroCode Studio Plus 5.0

MicroCode Studio Plus 5.0 (compatible with PBP 3.0 or later)
The main editor provides full syntax highliMicroCode Studio Plus is a powerful, visual Integrated Development Environment (IDE) with In Circuit Debugging (ICD) capability designed specifically for PICBASIC PRO™ Compilerghting of your code with context sensitive keyword help and syntax hints. The code explorer allows you to automatically jump to include files, defines, constants, variables, aliases and modifiers, symbols and labels, that are contained within your source code. Full cut, copy, paste and undo is provided, together with search and replace features.
...

...

### Product Activation

When installed PBP3 will operate in trial mode for 15 days, we recommend that you TRY PBP3 BEFORE you buy PBP3. Be sure that you are happy with the product and the facilities it offers

After purchasing your PBP3 license, the product may be activated by entering the activation key as prompted by the application, this process should be carried out whilst your host machine has access to the internet. Activation requires that the machine can contact the melabs activation service.
...