PDA

View Full Version : Pic 12f675 / 12f629


tomskk
Oct 04, 2005, 02:49 AM
Does anybody here have a simple Basic example on how to use PIC's internal Comparator and A/D converter (for Voltage measurement).

I will be most happy for any simple examples in Basic. I'm a beginner in PIC's and I want to experiment with some examples to learn.

Acetronics
Oct 04, 2005, 03:02 AM
Hi, Tomskk

just a look here : http://www.melabs.com/resources/samples/12F675/vref675.bas

Alain

raymcm
Oct 04, 2005, 02:21 PM
Make sure you insert nop's or other dalays in the right places or it wont work

Nightz
Oct 04, 2005, 08:00 PM
** sorry posted in the wrong thread **

tomskk
Oct 05, 2005, 08:59 AM
Thanks to you all, but does anybody know any good starting points (ebooks, examples) on how to deal with this PIC's?

Acetronics
Oct 05, 2005, 09:40 AM
Thanks to you all, but does anybody know any good starting points (ebooks, examples) on how to deal with this PIC's?

The first thing is, for us, to know what you have chosen as a compiler : assembler, C, basic ...??? and which ...

There are tons of books :eek: ... and web classes !!!
Alain

tomskk
Oct 05, 2005, 09:51 AM
Thanks Alain for all your help. I used to do my programming in Visual Basic, so I hope i can continue to do my apps in Basic in MCU's too. I'am currently using a Proton Basic from Crownhill.

Acetronics
Oct 05, 2005, 01:43 PM
Hi tomskk

best help here : http://www.picbasic.org/forum/

Alain