MEL PICBASIC Forum - Darrel Taylors Works

• ### 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
• # Darrel Taylors Works

Published on - 3rd March 2016 08:28

Option DEFINEs and Constants
• BAM_COUNT CON xx
This constant must match the number of BAM_PINS being used.
...

### MIBAM - (Mirror Imaged Bit Angle Modulation)

Published on - 3rd March 2016 08:27

Cylon Scanner

Here's another quick example that simulates a Cylon or Kitt car scanner.

It's running ...

### Temporary central repository of Darrel Taylor's works (including Mr E's Multicalc)

by Published on - 3rd January 2015 12:38

This has come up several times, and likewise, I've tried to approach it several times...

After a 6 month pause ...

### Re: Elapsed Timer Demo

by Published on - 3rd January 2015 12:36

It keeps running in the background.
The interrupts will not wait for PBP statements to finish.

Ok fine, ...

### Re: Temporary central repository of Darrel Taylor's works (including Mr E's Multicalc

by Published on - 3rd January 2015 12:35

Since Darrel's site is down and the archives might have older versions, this is what I have so far.

...

### Re: Temporary central repository of Darrel Taylor's works (including Mr E's Multicalc

by Published on - 3rd January 2015 12:35

Great idea!
Just found this on my PC:

...

### Re: Temporary central repository of Darrel Taylor's works (including Mr E's Multicalc

by Published on - 3rd January 2015 12:34

Here is my version of Darrels 10bit HPWM_L. Original version works with PBPW. There is comments in code, what is changed. ...

### Re: Temporary central repository of Darrel Taylor's works (including Mr E's Multicalc

by Published on - 3rd January 2015 12:33

v1 Dec 30,2006 USBDemo.pbp (PBP & VB)

v1 May 8, 2007 USBDemo_2455.pbp (PBP)

...

### Re: Temporary central repository of Darrel Taylor's works (including Mr E's Multicalc

by Published on - 3rd January 2015 12:30

SPWM_INT with example:
...

### Re: Temporary central repository of Darrel Taylor's works (including Mr E's Multicalc

by Published on - 3rd January 2015 12:21

Temporary post, just storing attachments lifted from old computer.
(Attachments get deleted after a while if they ...

### Re: Temporary central repository of Darrel Taylor's works (including Mr E's Multicalc

by Published on - 3rd January 2015 12:19

Here is Run-Time Config :