MEL PICBASIC Forum - Add New Section

• ### Recent Forum Posts

#### Re: LED pinout question

Both images have number 1 on the left pad, so I assume you are right.

Ioannis

Ioannis Today, 20:57

#### Re: LED pinout question

I think I might have figured it out. It looks like that polarity drawing assumes the pinout is left-to-right, with cathode being pin 1.

Demon Today, 02:23

#### LED pinout question

Looking at an LED on JLCPCB, and it's not clear how they go about determining if pin 1 is the anode or cathode. This is from the datasheet:

https://i.imgur.com/nCvD7zD.png

And their drawing...

Demon - 11th July 2024, 21:55
• # A/D

### Precision Volts and Amps Meter

by Published on - 27th June 2012 15:31  Number of Views: 4529

Hi All!
Here is the code to create a voltmeter and ammeter. Everyone has a "display of choice" so you can ...

### Oversampling analog to digital readings

by Published on - 15th October 2010 16:51  Number of Views: 9903

Darrel Taylor has a great oversampling include file. This can give you a 10 through 16 bit result from a 10 bit A/D PIC ...

### Analog to digital averaging with hysteresis

by Published on - 15th October 2010 16:29  Number of Views: 10042

You know how the least sigificant digit will "wobble" back and forth between 2 numbers? It's half-way between ...

### Voltage Divider Example

by Published on - 7th October 2010 03:19  Number of Views: 9870

Here is an example by Darrel Taylor for a voltage divider circuit. This makes it possible for a PIC to give an analog measurement ...

### How to use the HLVD module as a low voltage monitor

by Published on - 29th May 2010 15:05  Number of Views: 6272

In hopes this might help someone avoid the time it took me to learn this I will make this contribution of code as a solution ...

### Sensor Scaling

by Published on - 27th May 2010 17:17  Number of Views: 8228

Scaling an analog sensor is not a difficult as it may seem. Even when zero units is not zero volts.

...

### All Digital

by  Number of Views: 8236

ALLDIGITAL.pbp

If you want to use all the pins on your PIC as general Input/Output, you must first enable ...