Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    7,057

    Re: Redefinition of Label error

    Thanks Henrik,
    The original program was for a 16F84 and I’m replacing it with the 16F87 and yes I did change that on MCS and I’m using PBP 3.1, recently upgraded. I did put comcon= 7 in the newer...
  2. Replies
    8
    Views
    7,057

    Re: Redefinition of Label error

    Hello,
    I’m getting the same error on a 16F87 but I have 3 routines, Main, Bypass, and Alarm on a short program. I have these labels being used in if….then statements that the program is suppose to...
  3. Replies
    9
    Views
    3,089

    Re: What is causing my problem?

    No I did not disable the WDT. Is that necessary?
  4. Replies
    9
    Views
    3,089

    Re: What is causing my problem?

    Thank you for the fast reply, Jerson.
    I have 2 inputs on port A and the Tris A is =00000011 and the outputs are on port B and the Tris B is =00000000. I have the comparators disabled with CMCON = 7....
  5. Replies
    9
    Views
    3,089

    What is causing my problem?

    Hello all!
    It’s been a long time since I’ve posted here but I’ve still stayed in touch. I just made a project using a 16F87 and set 2
    Outputs to 0 and I am getting voltage out of the pin that’s...
  6. Replies
    6
    Views
    21,660

    Re: Nurse Alert System

    Hi Fidelus,
    Are you planning on using this commercially? If so you might want to contact U.L. for the requirements for getting a U.L. listing which will be required by your customer's insurance...
  7. Replies
    6
    Views
    4,415

    Re: Multi CPU , design and interrupt control

    Hi Longpole,

    I hope I didn't waste your time but I had not read your previous post on your project but I just finished reading all of the replies. Boy you really have your hands full. I will...
  8. Replies
    6
    Views
    4,415

    Re: Multi CPU , design and interrupt control

    Hi Longpole 001,
    Back in 2005 I built 2 160-Input annunciator panels using 20 - 16F74 chips "talking" to a 18F452 on the master board and 20 - 16F872 chips talking to another 18F452 master. I used...
  9. Replies
    8
    Views
    11,452

    Re: PIC Input Vs Cable Length

    Hi all!

    I have been in the alarm business for over 38 years. Most of the systems I deal with utilize an end of line resistor for supervision of the circuit and it also allows the use of open and...
  10. Replies
    5
    Views
    7,601

    Re: Mikro Elektronika Basic and PBP

    Hi Queenidog,

    I myself bought a V2 Development board from them and have had no problems running PBP programs on it. Are you saying that the V7 board won't allow PBP code to run on it? I even...
  11. Replies
    9
    Views
    6,596

    Re: Help traffic light system using PicBasic Pro

    Hi David,

    It looks like you are way in over your head with this project. I really have to ask the question I haven't seen asked yet but what are you studying in school? Has your instructor run...
  12. Replies
    1
    Views
    2,328

    Re: Error while compiling

    Hello again,

    My code section was this:

    Serin2 serpin,36081,250,Main,[Wait("A"),DEC3 Apt, dec1 Event] '4/20/13 New changes
    BusyOut = 1
    pause 10

    if Event...
  13. Replies
    1
    Views
    2,328

    Error while compiling

    Good morning all!

    While updating an old program I encountered the following message:

    ERROR: Macro SUB?BCL not found in macro file.

    As far as I know I don't have any macros but maybe PBP...
  14. Replies
    7
    Views
    4,668

    Re: Changing from If..Then to Select Case

    Thanks for your replies Henrik and Charlie.

    Yes the GOTO is only executed if the If Then is true. Doing it this way eliminates the End If statement for each line. At the time I tried this...
  15. Replies
    7
    Views
    4,668

    Re: Changing from If..Then to Select Case

    Thanks for the input Shawn. As I'm working on my new ideas I will try a series of variations that are starting to pop into my head. I will keep your comments in mind. Thanks again!

    Bobk
  16. Replies
    7
    Views
    4,668

    Re: Changing from If..Then to Select Case

    Thanks for the reply Archangel,

    In the beginning I looked at a lookup table but didn't know enough about using it so I went with the IF .. Then senario.

    There are 20 slaves with 8 inputs on...
  17. Replies
    7
    Views
    4,668

    Changing from If..Then to Select Case

    Hello group,

    I currently have a master board that receives reports from 20 slave boards. When the master
    receives the 3 digit number (what input) from a slave card it goes through 320 If Then...
  18. Re: Need help from you guys how to program Pic 12C509A using icprog!

    Hello jfar22,

    Did you look into the similar threads below your post? There is the information you are looking for.
    I use MCS+ and MELabs USB programming and I am not familiar with ICProg but I...
  19. Thread: LCD Low Power

    by BobK
    Replies
    4
    Views
    3,912

    Re: LCD Low Power

    Hi kduck,

    How about not turning the LCD on until you actually need it? Set a pin on the PIC as an output and it turns on a transistor that can then supply the power needed by the LCD. Also...
  20. Re: SEROUT + SERIN, OLED + PICAXE coding help required

    Hi Sean,

    There are quite a few samples of using PICBasicPro using SERIN, SEROUT, and writing to a LCD Display on the
    MELabs website. (www.melabs.com) You will find a wealth of information to...
  21. Replies
    5
    Views
    5,244

    Re: 16f88 WON'T GO TO SLEEP, please help!!

    That's not C! It's assembly language.

    BobK
  22. Thread: Greetings

    by BobK
    Replies
    0
    Views
    1,688

    Greetings

    Happy Holidays to all on this forum!!:love_heart:

    BobK
  23. Replies
    19
    Views
    19,652

    Re: How do you drive a Serial LCD?

    Hi Mike,

    Mind if I ask what program you are using to illustrate your drawings?

    Thanks,

    BobK
  24. Re: Why Or'd Vcc with backup battery output shorted battery life?

    Hi John,

    When I sent you my DS1337 schematic last year I only showed the two diodes connected to the Vcc of the 1337. I had the resistors connected to the PIC's Vcc for the very reason that you...
  25. Replies
    11
    Views
    9,290

    Re: Change variable allocation to save code space

    Hi Aberco,

    I use alot of 16F87s which has the same pinout as the 16F88. I needed more code space to do more things with my product without adding parts to the board. Microchip recently came out...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4