PicBasic - TMR0 16F877

Started by dino308gt4 in Piclist15 years ago 1 reply

I'm using PicBasic and my project requires taking an analog reading every 100th of a second. Is using TMR0 the best way to do the...

I'm using PicBasic and my project requires taking an analog reading every 100th of a second. Is using TMR0 the best way to do the timing? It looks like the prescaler ratios do not make it possible.


PicBasic Plus (Crownhills)

Started by mredbautista in Piclist13 years ago 5 replies

Good Day, I'm freshmen in PIC's, does anybody used PicBasic plus from crownhills? How do you find it in compare to C...

Good Day, I'm freshmen in PIC's, does anybody used PicBasic plus from crownhills? How do you find it in compare to C programming? Regards to all


Internal osc for 12F629 or similar chips

Started by randy ram in Piclist13 years ago 1 reply

I use PicBasic Pro on this chip with ICProg. I am trying not to use an external xtal on it. Does anyone know how to set it...

I use PicBasic Pro on this chip with ICProg. I am trying not to use an external xtal on it. Does anyone know how to set it using PicBasic? Thanks Randy ----- Original Message ----- From: "itiseasy2000" Date: Tue, 28 Sep 2004 01:56:13 -0000 To: p...@yaho


BASIC advice...

Started by clayforge in Piclist14 years ago 31 replies

I am looking for input on which BASIC compiler to get to program PICs. I have it narrowed down to PicBASIC Pro, and Celestial ...

I am looking for input on which BASIC compiler to get to program PICs. I have it narrowed down to PicBASIC Pro, and Celestial Horizons CH Flash Basic. While I know that PicBasic Pro will work with more types of chips, I will really only be using the 16's, so that is not a real is


PicBasic Pro v. MBasic...

Started by clayforge in Piclist12 years ago 21 replies

Has anyone used PicBasic Pro by MeLabs) and MBasic Pro (by Basic Micro)? How do the two compare? I can afford to get one or the other, and...

Has anyone used PicBasic Pro by MeLabs) and MBasic Pro (by Basic Micro)? How do the two compare? I can afford to get one or the other, and obviously want the better of the two products. By better, I mean easier to use, value for the money, more powerful. Please do not bother listing all of the other available Basic compilers. I have compared and contrasted


Storing String Constants with PicBasic Pro?

Started by gettingalongwouldbenice in Piclist13 years ago 2 replies

I need to store a few dozen variable length strings containing GPIB commands for a demo aid using PicBasic Pro in a PIC16F877A....

I need to store a few dozen variable length strings containing GPIB commands for a demo aid using PicBasic Pro in a PIC16F877A. First try was to use Lookup. Works, but I have to wrap a loop around each lookup function. Second try was to use the readcode fun


assembly vs. picbasic, etc

Started by Michael Bloom in Piclist12 years ago 10 replies

hello, I have been tinkering with the 16x84 for several years learning a little bit of assembly. However, I find my self wanting to make...

hello, I have been tinkering with the 16x84 for several years learning a little bit of assembly. However, I find my self wanting to make more involved programs that would be very involved to make in assembly. The most popular alternative appears to be PicBasic Pro but it kills me to have to spend $250 (i'll admit it, i'm cheap). I am pretty familiar wi


Re: PicBASIC speed and code efficiency

Started by Eirik Karlsen in Piclist12 years ago 9 replies

I'm about to start on a major program, which I expect to be some 32K in assembly. To save me getting some additional gray hairs I'm...

I'm about to start on a major program, which I expect to be some 32K in assembly. To save me getting some additional gray hairs I'm sniffing at BASIC for this project. But I need -SPEED- can't afford to loose much of it compared to a well-written assembler program. Can anyone say something about PicBASIC's execution speed and code effici


PIC PROBLEM!

Started by Anonymous in Piclist14 years ago 3 replies

Hey, I bought 5 16F628's and I can't get a simple thing to work! I'm using PicBasic and my program is... High 0 And...

Hey, I bought 5 16F628's and I can't get a simple thing to work! I'm using PicBasic and my program is... High 0 And I have a LED hooked up to RB0. To no success. Any help? Shamoon


PicBasic Formula

Started by Scott Lingerfelt in Piclist14 years ago 2 replies

Can someone tell me or give me an example on how to implement the following formula. My problem is the negative number! a...

Can someone tell me or give me an example on how to implement the following formula. My problem is the negative number! a = -20 b = 32 x = Value y=a+bx Thanks in advance, Scott --- Outgoing mail is certified Vir


mikroBasic from Mikroelektronika

Started by ascii_geek in Piclist13 years ago

Hi All, I am looking for general feedback of microBasic vs. PicBASIC Pro? I am a beginner with PIC microcontrollers but...

Hi All, I am looking for general feedback of microBasic vs. PicBASIC Pro? I am a beginner with PIC microcontrollers but like what I see. I have been doing some work with Assembler but would like to use a higher level language that can take care of the overhead of Sof


Re: PicBASIC speed and code efficiency

Started by xob_jt in Piclist12 years ago 3 replies

Why not look at Proton? It covers all the Pic ranges from 12 to 18 series. It even comes with an optimiser. Tim Box ...

Why not look at Proton? It covers all the Pic ranges from 12 to 18 series. It even comes with an optimiser. Tim Box --- In piclist@picl..., Eirik Karlsen wrote: > I'm about to start on a major program, which I > expect to be some 32K in assembly. > To save me getting som


16f819 memory question

Started by meriachee in Piclist11 years ago 1 reply

I've been reading the datasheet and the instruction set from the PicBasic Pro book, and cannot figure out how to write variables to memory and...

I've been reading the datasheet and the instruction set from the PicBasic Pro book, and cannot figure out how to write variables to memory and read variables from memory. All I am trying to do is store a variable, and have that non-volatile. Does anybody have any experience doing this?


"While " loop

Started by ramtec73 in Piclist14 years ago

I am currently using PicBasic Pro. Does anyone know how to do a WHILE statement using a time as a reference? For example, ...

I am currently using PicBasic Pro. Does anyone know how to do a WHILE statement using a time as a reference? For example, I am using a COUNT PORTA.4,1000,counts Now this should read pulses that are coming into that PORT and stores it to counts for 1


Mbasic, PICBasic, other

Started by tyru007 in Piclist13 years ago 2 replies

Looking for a good basic language complier for PICS using a picstart compatible programmer. I am familiar with Basic and...

Looking for a good basic language complier for PICS using a picstart compatible programmer. I am familiar with Basic and Pascal and would perfer to work in this environment vs assembly (which i'll pick upas I go). I have several robot projects and others which I plan to us


Newbie question...

Started by clayforge in Piclist14 years ago 6 replies

I am new to the PIC chips, and I must admit to some confusion. I do not understand what a bootloader does? I am planning on...

I am new to the PIC chips, and I must admit to some confusion. I do not understand what a bootloader does? I am planning on programming the chips (16f84A) using PICBasic standard edition. Do I need the bootloader? Also, for a programming board, do I really need the $60 Epic


PIC 16F84A Help

Started by Shamoon in Piclist14 years ago 2 replies

I have the 16F84A and the EPIC Programmer on my Win2K machine. I also have PICBasic. I'm having a GREAT deal of difficulty getting ...

I have the 16F84A and the EPIC Programmer on my Win2K machine. I also have PICBasic. I'm having a GREAT deal of difficulty getting this to work. I programmed the PIC with... ------------- High 0 ------------- so that I could set Port B0 to high. I connected the c


servo motor control with PIC

Started by pakigenius786 in Piclist14 years ago 7 replies

does anyone know and can tell me how to porgram a servo motor with a PIC in C or assembly not in PicBasic. Thnkx a lot dudes ...

does anyone know and can tell me how to porgram a servo motor with a PIC in C or assembly not in PicBasic. Thnkx a lot dudes moe


synchronous (SPI) examples?

Started by greerde in Piclist14 years ago

Does anyone have any examples using the PICs SPI? Specifically I am using a 16f877 and will be using an external clock (so i'll be...

Does anyone have any examples using the PICs SPI? Specifically I am using a 16f877 and will be using an external clock (so i'll be in slave mode), but any examples (in asm or picbasic) would be good. I have no problem outputing sync. data, but I am having all kinds of prob


POT command question...

Started by clayforge in Piclist12 years ago 3 replies

When using the POT command in PicBasic Pro to read a potentiometer, does the pin that the potentiometer is attached to have to have ADC, or ...

When using the POT command in PicBasic Pro to read a potentiometer, does the pin that the potentiometer is attached to have to have ADC, or can any I/O pin be used? Thanks! Scott