Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: xpa999; Keyword(s):

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    5,464

    Re: Using INCLUDE to add a text file in PBP3

    A .bas file is simply a text file that conforms to the format that picbasic expects and can compile. You can declare arrays of variables in that file that can be used in the remainder of the program.
  2. Replies
    19
    Views
    36,259

    Re: Wierd result when inverting an input

    It would seem that the simple way around this is:

    Report = 48 + !Mypin

    Wouln't that force
    Picbasic to evaluate Report as a byte, not as a bit?
  3. Replies
    7
    Views
    5,022

    Re: Serial over Blue Tooth

    Remember the hc-06 is a 3.3v device, so the pic has to be 3.3v or you need to convert levels.

    I found this website for some great info
    ...
  4. Replies
    6
    Views
    3,762

    Re: I2CWRITE Issue at Compiling Time

    I do believe that the '1183' refers to a line number in the assembled code. The number changes depending upon which libraries are called and where the page crossing occurs in the listing.
  5. Re: Can't get the simplest of programs to run using internal osc and just toggling a

    Do you have !MCLR tied high? I see it disabled in the config, but it's worth a try.
  6. Re: 4 x 20 LCD display with PB3 - Pin 5 High or Low?

    AAAAAAAHHHHHHHHH!

    Sorry guys, in my haste, I kept comparing my wiring to the diagram on Page 172, and tied the R/W pin High rather than Low per Darryl's reply. I heard the words, but my eyes saw...
  7. Re: 4 x 20 LCD display with PB3 - Pin 5 High or Low?

    Thanks for the help, but...

    The define I actually used was

    Define LCD_DREG PORTD
    Define LCD_DBIT 0

    The '8' appeared as an artifact of my clumsy attempt to paste the code into the message....
  8. Re: 4 x 20 LCD display with PB3 - Pin 5 High or Low?

    leThanks for all the help, but I'm still stuck. I wired the LCD as shown on page 172 of the PB3 manual.

    After giving up with my code, I tried the example supplied with the compiler. The display...
  9. Re: 4 x 20 LCD display with PB3 - Pin 5 High or Low?

    Thanks Darryl,

    Silly question: Is there feedback from the display to the Lcdout routine (I'm thinking of the 4 bit communication) or is the pic blindly sending data to the LCD and relying on...
  10. 4 x 20 LCD display with PB3 - Pin 5 High or Low?

    Hi, I've searched the forum and the documentation for PB3 and the displays, but I'm still confused.

    Page 171 of the PB3 manual shows pin 5 of the LCD module tied to ground and page 172 shows the...
  11. Replies
    19
    Views
    11,025

    Re: Driving LED's with PWM

    An LED cannot have more than its forward bias voltage across it. For an old red LED that voltage is about 1.6 volts. Sacrifice one by driving one with a variable power supply. It will start lighting...
  12. Re: Customers Performing Own Upgrades. How Hard Can It Be?

    Here's a thought. Thorsten Klose uses a MIDI interface as a serial port with a bootloader. It has several advantages: 1) cheap usb interface, less than $10 on ebay. 2) optoisolator to eliminate...
  13. Replies
    6
    Views
    3,695

    Re: Random in PIC12F683

    To the best of my knowledge, PB does not expect a colon after 'then'.


    >> if spacet = 0 then: random pulset1'Randomize value in pulset1

    Also, is one of those consecutive gotos supposed to...
  14. Replies
    6
    Views
    3,695

    Re: Random in PIC12F683

    Why is there a colon after 'then'?
  15. What does the autorepeat number in the button command do?

    Hi,

    I'm a newbie and I've searched the forum but can't find the answer.

    What is the meaning of the rate parameter in the button command? Is a low value faster or slower than a large value? How...
Results 1 to 15 of 16