Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Replies
    13
    Views
    7,993

    You have all the inputs as digital inputs ANSEL =...

    You have all the inputs as digital inputs ANSEL = $00 Shouldn't A0 be an analogue input?

    Adrian
  2. Thread: PBP with iMac

    by Adrian
    Replies
    15
    Views
    19,149

    Hi Dave I have to admit I had never heard of...

    Hi Dave

    I have to admit I had never heard of WINE before but a google search reveals that someone has got it working on Mac OS X. I will look into it further. I have run PCs for years but having...
  3. Thread: PBP with iMac

    by Adrian
    Replies
    15
    Views
    19,149

    PBP with iMac

    I'd love a version that worked with iMac - we're multi-platformed here!
    Adrian
  4. Replies
    16
    Views
    9,126

    Yes thanks Bruce. Slip of the tongue between...

    Yes thanks Bruce. Slip of the tongue between Editor & Programmer. It was the Programmer I set back to default options. I guess I must have jiggered one of the default settings which as you say...
  5. Replies
    16
    Views
    9,126

    Problem Solved!

    Hi Bruce

    Problem solved!

    Your download produced the same symptoms as my programme, but when I read it back it certainly didn't show INTOSCIO - from memory it might have been INTRC also MCLR was...
  6. Replies
    16
    Views
    9,126

    Thanks Bruce I'll try that tomorrow morning....

    Thanks Bruce
    I'll try that tomorrow morning. Just jumping into a bath for a night on the town..!! Well not quite on the town.... at my age its more sedate but I'll have a go tomorrow and let you...
  7. Replies
    16
    Views
    9,126

    Hi mackrackit Here it is. To be clear I...

    Hi mackrackit

    Here it is.

    To be clear I have removed the PIC from it's PCB and stuck it on a breadboard and just programmed it with these 10 lines of code. I have programmed it both with MPASM...
  8. Replies
    16
    Views
    9,126

    Hi Bruce My programme is exactly the same as...

    Hi Bruce

    My programme is exactly the same as yours (I removed the 1 from OSCCON bit 0). It is just the same as before. I have a 1 Mhz square wave on pin 4 and a sawtooth waveform on pin 5. I have...
  9. Replies
    16
    Views
    9,126

    Hi Bruce Working through the errors! OSCCON...

    Hi Bruce

    Working through the errors!

    OSCCON is typo in my post - OK in programme
    MCLRE ditto
    underscore in INTOSCIO ditto
    Can't see anything wrong with CMCON0Apologise for wrong PIC...
  10. Replies
    16
    Views
    9,126

    Sorry this should be pic16f684

    Sorry for wrong information. This should be Pic16F684 not 685. Must be getting tired. HOWEVER it still doesn't work!!
  11. Replies
    16
    Views
    9,126

    Hi Alain Sadly not, so no beer - not even a...

    Hi Alain

    Sadly not, so no beer - not even a good Cotes du Rhone from E.Guigal........! Unfortunately this was a typo error on my post. It was correct in the programme. Rest of programme is fine...
  12. Replies
    16
    Views
    9,126

    Thanks mackrackit but still no joy. I've tried...

    Thanks mackrackit but still no joy. I've tried the open collector thing and I believe the COMCON0 to be right. This is puzzling me. I would have thought there should not be clock on A4 when INTOSCIO...
  13. Replies
    16
    Views
    9,126

    PIC16F685 RA4/RA5 pins

    I thought(!) I understood that PortA 4 & 5 on a PIC16F684 could be used as general purpose I/O pins with an internal oscillator. So far I have been unable to achieve this. I have this at the top of...
  14. Replies
    14
    Views
    6,419

    Mystery Solved!

    Hi Darrel
    I changed the bit of maths and hey presto the programme instantly came good. It is cycle accurate all the way up. I'm really pleased...so many thanks. Now I'll get back to studying your...
  15. Replies
    14
    Views
    6,419

    Reply to Darrel's query

    I'm using the ubiquitous 16F877A. Using the time difference between you and the UK I will change the maths anyway and try different frequencies again. I will also double check everything on the...
  16. Replies
    14
    Views
    6,419

    DT Interrupt - saga continues!

    Darrel

    Many thanks - the programme worked spotlessly up to 1KHz. I put Freq as 1000, T1CON as 0 and Prescaler as 1 plus I just added TOGGLE PORTB.0 in the T1Handler section. With any frequency up...
  17. Replies
    14
    Views
    6,419

    Darrel Thank you very much. I have taken a...

    Darrel

    Thank you very much. I have taken a look and 'instantly' it doesn't look so easy to understand, however it also appears to be very crafty and very useful. I am going to plug away at your...
  18. Replies
    14
    Views
    6,419

    Yes - that's what I meant. I imagined that the...

    Yes - that's what I meant. I imagined that the programme overhead would mop up 'some' 'ticks' but I was surprised when it ended up at 107 adrift. The oscillator frequency is a good point - I'll check...
  19. Replies
    14
    Views
    6,419

    Thanks Skimask The reload criteria seem to be...

    Thanks Skimask

    The reload criteria seem to be right, as you also concur, but for the life of me I still can't understand why it is over 100 ticks out. I have measured the frequency both on a...
  20. Replies
    14
    Views
    6,419

    DT interrupt/pulse generator

    I have used Darrel's interrupts to generate a 1KHz pulse stream. As I'm using TOGGLE the interrupts needs to be at a 2KHz rate. Using PicMultiCalc with 7 instructions and 20MHz oscillator this gives...
  21. Replies
    19
    Views
    8,574

    Thank you for that, Skimask. I really appreciate...

    Thank you for that, Skimask. I really appreciate you coming back and putting this one to bed once and for all. I guess that Counter 0 to 7 clears the temp array and 0 to 8 hangs up due to the extra...
  22. Replies
    19
    Views
    8,574

    Thanks for that Bob. The bit I was confused about...

    Thanks for that Bob. The bit I was confused about is Skimask's statement "MyVars var Byte[8] sets aside 9 bytes, index 0 (zero) is also valid"
    I thought I understood that MyVars VAR BYTE[8] had 8...
  23. Replies
    19
    Views
    8,574

    Hi Skimask Thanks but there is something I'm not...

    Hi Skimask
    Thanks but there is something I'm not understanding. I've tried your programme and it works fine until the first timeout then it won't 'goto main' and loop through again. Should it? If I...
  24. Replies
    19
    Views
    8,574

    Hi Skimask Counter 0 to 7, perhaps? And...

    Hi Skimask

    Counter 0 to 7, perhaps? And possibly no quote marks in third line after 8?

    Adrian
  25. Replies
    33
    Views
    25,575

    Off topic...sorry ....E U get done taxing that...

    Off topic...sorry

    ....E U get done taxing that $25 it will be $75....

    You're right! Tax is the buzz word here at present. UK diesel price about $12 gallon, at present conversion rates. Tax rate...
Results 1 to 25 of 59
Page 1 of 3 1 2 3