PicBasic - TMR0 16F877

Started by dino308gt4 in Piclist17 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.


Internal osc for 12F629 or similar chips

Started by randy ram in Piclist15 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


PicBasic Plus (Crownhills)

Started by mredbautista in Piclist15 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


PicBasic Pro v. MBasic...

Started by clayforge in Piclist15 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


BASIC advice...

Started by clayforge in Piclist16 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


Storing String Constants with PicBasic Pro?

Started by gettingalongwouldbenice in Piclist15 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 Piclist15 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 Piclist14 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


mikroBasic from Mikroelektronika

Started by ascii_geek in Piclist15 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 Piclist14 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


POT command question...

Started by clayforge in Piclist14 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


16f819 memory question

Started by meriachee in Piclist14 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 Piclist16 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 Piclist15 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


LCD Problem

Started by Anonymous in Piclist16 years ago 9 replies

Hey, I have a Serial LCD from www.seetron.com and it appears that when I send output to it, it appears as gibberish. Any ideas as...

Hey, I have a Serial LCD from www.seetron.com and it appears that when I send output to it, it appears as gibberish. Any ideas as to why? I'm using a 16F628 with picbasic from melabs. My code is: Serout 1, N2400, ("Hello") My baud rate is correctl


Electronics speed control

Started by randy ram in Piclist16 years ago 5 replies

Has anyone worked on a speed control before. I want to drive a small dc motor. The same as the radio control electric motors. I...

Has anyone worked on a speed control before. I want to drive a small dc motor. The same as the radio control electric motors. I currently use PicBasic Pro. Thanks ----- Original Message ----- From: cdb Date: Sat, 1 Nov 2003 13:57:03 +1000 To:


Re: Microchip MCP23016 with PicBasic Pro?

Started by Chad Russel in Piclist15 years ago 3 replies

Did you get this working? An interesting chip, but talk about lack of documentation...I am trying to figure out the difference...

Did you get this working? An interesting chip, but talk about lack of documentation...I am trying to figure out the difference between latched data and pin data. Chad --- In , Jon Chandler wrote: > Has anyone used the MCP23016 I/O expander


16f819 question

Started by meriachee in Piclist15 years ago 4 replies

I am using the PicBasic compiler to do some experimentation with the PicMicro 16f819 chip. The book says that when you use the...

I am using the PicBasic compiler to do some experimentation with the PicMicro 16f819 chip. The book says that when you use the poke command to change PortA, you change ALL of the ports (input or output). I want to use these ports to drive bi-colour leds, don't much c


Serout2/Serin2??

Started by ramtec73 in Piclist16 years ago 4 replies

I am trying to send out data from a stored location to a 916MHz RF transmitter. Then receive it on another PIC. Can I use ...

I am trying to send out data from a stored location to a 916MHz RF transmitter. Then receive it on another PIC. Can I use SerOut2 PORTB.1,4,[rpm] 'to sent it to the TX and Serin2 PORTB.1,4,[rpm] 'to receive it I am using PICBasic Pro. A


STR compare in picbasic

Started by comalco2000 in Piclist17 years ago 1 reply

I have a string in a variable array ie STR mydata(0) = "Hello" I would like to compare it to a list of around 60 other...

I have a string in a variable array ie STR mydata(0) = "Hello" I would like to compare it to a list of around 60 other strings to see if they match. Both Case and blanks are sensitive! ie STR storeddata(0) = "Random Text" " "