Search Results - MEL PICBASIC Forum


Search:

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

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    2,626

    Thanks

    Okay, thanks Dave.
    I'll just have to put it down to another one of those weird things that happens.
    Cheers,
    Mike
  2. Replies
    4
    Views
    2,626

    Why not CON

    Thanks for your reply Dave.

    BAUD Var Word works as does Byte if its less than 255.

    My question is why doesn't CON work when I can't find any reference to it in the Manual and espesially...
  3. Replies
    4
    Views
    2,626

    Baud Rate declared as a Constant

    Hi,
    I have just stumbled onto a problem. If I declare the baud mode on SEROUT2 as a constant it compiles Okay but doesn't work.
    eg:
    BAUD CON 84
    SEROUT2 PORTB.2, BAUD,["TEST",13]

    But this does...
  4. Replies
    22
    Views
    13,162

    Use a FOR NEXT

    I think that you could use something like.

    Delay Var Word ' Pause in us
    Counter Var Word

    FOR Counter = 1 to Delay
    @nop
    @nop
    NEXT Counter
  5. Replies
    10
    Views
    3,732

    Labels

    Don't know if it's just a typo, but the sub-routine labels need colons.

    CCWCENTER:
    CWCENTER:

    I don't think they work otherwise

    Mike
  6. Replies
    3
    Views
    2,239

    Thanks for the reply Darrel and thanks for giving...

    Thanks for the reply Darrel and thanks for giving us Instant Interrupt. It lets a hack like me get alot more out of a PIC than just blinking an led.

    I am using the comparator to read the output of...
  7. Replies
    3
    Views
    2,239

    instant interrupts with comparator

    I have been trying to get instant interrupts working, using the comparator interrupt with a 16f88. In the data sheet it says:
    "You may be getting stuck in an infinite loop with the comparator...
  8. Replies
    9
    Views
    14,090

    Instrumentation Amplifier

    Robert,
    For amplifying the output of a load cell I think you should use an instrumentation amplifier. I have use an INA114 in a situation like yours. You can buy a descrete chip or you can...
  9. Replies
    4
    Views
    6,109

    Stamp DAQ

    I have been using the older version of this. www.parallax.com/ProductInfo/Microcontrollers/PLXDAQDataAcquisitiontool/tabid/393/Default.aspx
    This is free and the older version, Stamp DAQ, is quite...
  10. Replies
    9
    Views
    7,030

    Do you have a resistor

    Hi and welcome,

    The code appears to be okay to me ( another newbie).
    You don't need these lines as you already set TRISB = 0
    Output PORTB.4 ' set RB0 as output
    Output PORTB.5 ' set RB1 as...
  11. Replies
    14
    Views
    5,214

    Try this OSCCON

    Hi Carl,
    I usually use
    OSCCON = %01101000 and it seems to work. Don't forget the Define OSC for speeds other than 4MHz.
    Hope this helps.
    Mike
  12. Replies
    1
    Views
    5,179

    PBP 2.50 and Longs

    Hi,
    I'm currently using PBP 2.47 and Byte Arrays to get data from a GPS. This works OK but doing any maths is compicated.

    Am I right in thinking that if I upgrade to PBP 2.50 and use an...
  13. Replies
    10
    Views
    5,014

    N9600

    From one Mike to another,
    I'm not sure on this, but I think that you can only use modedefs.bas and N9600 mode with the SEROUT command not with SEROUT2.
  14. Replies
    23
    Views
    10,387

    RB3 is also CCP1

    I don't know if this is any help but RB3 is also CCP1. There are some conditions when this may be a problem if RB3 and RB4 are both pulled low. I don't know what other pins you have connected in...
  15. This tread should help

    This thread is a good start.
    http://www.picbasic.co.uk/forum/showthread.php?t=3805&highlight=16f88+device
    You will have to find how to get your module to output NMEA data. The coordinates...
  16. Replies
    4
    Views
    4,298

    Don't you hate that

    Hi Sarma,
    Thanks for your reply. I found that the problem was not with the programmer but with the 16F88 I was trying to program.
    Unfortunately I only worked this out after I had bought an...
  17. Replies
    4
    Views
    4,298

    Is My Programmer Dead

    I have been using a Olimex PIC-MCP-USB Programmer with MPLABs. This programmer emulates a PicStart Plus Now I get a serial timeout message or a message that PicStart Plus can't be found. The green...
  18. Replies
    10
    Views
    3,947

    Maybe high and low will work

    Hi Ibra,
    I'm very new to this but have had to same problem. I think I was using PortA and had to set it to digital with ANSEL=0 for TOGGLE to work but

    PortB.0 High
    pause 200
    Portb.0 Low
    ...
  19. app note

    Have you had a look at the MicroChip app note AN 893 . Hopefully it might be of some help.

    This should be the link to it....
  20. Replies
    6
    Views
    8,441

    Div32

    Hi,

    Have a look at the DIV32 Maths operator. This may help.
  21. Replies
    5
    Views
    4,011

    Rs-232

    Hi Cameron,
    I wasn't sure whether you were using the rs-232 still but these invert the signal as well as increasing the voltage to 12V. Could this be your problem?

    Mike
  22. Replies
    5
    Views
    3,739

    Thanks

    Hi Ron,

    I think this will be the solution for me. I will have to use an extra pin to select the AD7730 but then I have 2 extras from not using an xtal. I can't see whether it is high impedance...
  23. Replies
    5
    Views
    3,739

    Still Unclear

    Hi Mister-e
    Thanks for the reply.

    My question with the AUSART is. I have to us SHIFTIN and SHIFTOUT to talk to the AD7730 and Serout2 to send the result to another Pic.

    Can I use Shiftout...
  24. Replies
    5
    Views
    3,739

    Serial com with internal oscillator

    Hi,
    Iam looking at using a 16F88 with an AD7730 and outputing the result in RS-232. I have read in other threads that the internal oscillator is not recommended for asynchronous serial. I have a...
Results 1 to 24 of 24