MEL PICBASIC Forum - Add New Section

• ### Recent Forum Posts

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

This is not correct. The original code is fine.

The keyword DEFINE is a PBP keyword so it's NOT case sensitive, can be define, DEFINE, DeFiNE, DEFine, however you want to write it. The thing that...

HenrikOlsson Today, 08:54

#### 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
• # Help

What to do and where to look if it all goes wrong !

1st and foremost, be sure to read the readme files on the install disk and in the working directory on your hard disk once the application is installed. The majority of the of the new user support questions can be solved by reading the readme files on the installation disk or in the working directory. Revisions to command functionality and bug fixes are also listed in these files, (the printed manual is updated only periodically). Most new commands are first listed in the readme files, well before any mention the manual.

PIC® BASIC is a very well documented language, several books are available (on this site!) and some excellent FREE documentation has been published by Parallax as part of their stampsinclass series.

Remember that PIC® Basic compilers are compatible with the BASIC STAMP language and syntax, so virtually any code written for the basic stamp can be compiled by PIC® BASIC (stamp1) or PIC® BASIC PRO(stamp1+2). The basic theory and principles of useing the stamp are applicable to PIC® when using PIC® Basic. Beginners should note the theory and concepts used with the BASIC STAMP when constructing their first PIC® project with PIC® BASIC or PIC® BASIC PRO.
At present general HELP is provided via the PICBASIC® Forum, this means that you must have access to the internet to be able to send and receive information related to your problem. If you have problems with installation or compilation please make use of the Forum
Both Crownhill and ME Labs monitor the PICBASIC® user Forum as do many other PICBASIC® users, the forum is a medium by which you can obtain help, hints and tips form Crownjhill melabs and the mass of existing picbasic® users, most problems are not new and other users often have the correct solutions to hand and they will often reply almost immediately.
To join the forum simly comlete the registration form found under the REGISTER button at the top right of this web page.

Remember that PICBASIC® is largely compatible with the Parallax BASIC Stamp® I and II modules, make use of the vast range of documentation published by Parallax Inc and look at the code examples on this site for ideas and solutions to your problems.