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.


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


Internal osc for 12F629 or similar chips

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


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 Piclist15 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 Piclist15 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 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?


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


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 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


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


16F628 on-chip eeprom problem

Started by Vladimir M Skrbic in Piclist16 years ago 2 replies

Hello everyone, I'm new to the group and I'd like to ask a question. I've recently moved all my projects from 16F84 to 16F628...

Hello everyone, I'm new to the group and I'd like to ask a question. I've recently moved all my projects from 16F84 to 16F628 mcu's. Yesterday I've tried to write data to the internal (on-chip) eeprom of 16F628 using PicBasic Pro with little (or no ;) sucess. Would anyone care


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:


Stepper motor control with PIC

Started by Roy Wheaton in Piclist15 years ago 7 replies

Has anyone developed software and/or hardware for controlling the absolute position of a stepper motor with a potentiometer? It...

Has anyone developed software and/or hardware for controlling the absolute position of a stepper motor with a potentiometer? It has to be a stepper, not a servo. I need the stepper to follow the movement of a potentiometer shaft around a 180 degree axis. I work in PicBasic


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" " "


Quick Intro & Quick Question (Mplab Sim)

Started by mechatronicscontrol in Piclist12 years ago

Hello All, Name is nick, I'm an engineering grad student working on a hobby project. I'm trying to use the PIC18F4431 to do some basic DC...

Hello All, Name is nick, I'm an engineering grad student working on a hobby project. I'm trying to use the PIC18F4431 to do some basic DC servo motor control, but, as I'm new to assembly and MPLAB (used PicBasic), decided to try something else first. I've downloaded some code from Myke Predko, successfully compiled, and running in the Mplab Sim. Now the question: In the Watch Window, th...