Search Results - MEL PICBASIC Forum

Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    11
    Views
    1,053

    Re: Not or Invert

    Thank you :-)
  2. Replies
    11
    Views
    1,053

    Re: Not or Invert

    Not at all..

    Just couldn't get it

    Old Age

    Thank you
  3. Replies
    11
    Views
    1,053

    Re: Not or Invert

    so :-

    Not_PB2 = ~DigitalInputPin

    That easy ?

    Thank You
  4. Replies
    11
    Views
    1,053

    Not or Invert

    Very Very Quick question :-

    I have a digital input..... How do I invert it in software , Brain freeze :-(

    BR
    Andy

    Thank you all for reading
  5. Replies
    8
    Views
    725

    Re: Hserout questions

    Hi All

    Thanks for all your advice guys.... Turns out I was right with the defines except the 9600 should have been 9615

    The thing that fixed it all was putting a small delay (pause 100) between...
  6. Replies
    8
    Views
    725

    Re: Hserout questions

    Yes 4Megs Crystal
  7. Replies
    8
    Views
    725

    Re: Hserout questions

    I have ..... Still intermittent coms 🙄
  8. Replies
    8
    Views
    725

    Hserout questions

    Hi All

    Attempting to get some serial communication working with a 16f628 (4Meg Xtal) My defines are as below :-


    DEFINE OSC 4
    DEFINE HSER_TXSTA 24h
    DEFINE HSER_RCSTA 90h
    DEFINE HSER_BAUD...
  9. Replies
    7
    Views
    551

    Re: OSCCON=$60 Help Please 16F628

    Thank you all

    Sorted

    Andy
  10. Replies
    7
    Views
    551

    Re: OSCCON=$60 Help Please 16F628

    I got it now..... That might explain it :-)

    Thank you all for help..... sometimes you cant see the trees etc etc

    Thank you Again

    Andy
  11. Replies
    7
    Views
    551

    Re: OSCCON=$60 Help Please 16F628

    Sorry :--
    LIST
    LIST p = 16F628A, r = dec, w = -302
    INCLUDE "P16F628A.INC" ; MPASM Header
    __config _XT_OSC & _WDT_ON & _MCLRE_ON & _LVP_OFF & _CP_OFF
    NOLIST
    ...
  12. Replies
    7
    Views
    551

    OSCCON=$60 Help Please 16F628

    Hi All

    Attempting to set up a serial comms unit to control a MP3 player.

    But issues with compiling this bit:-



    DEFINE OSC 4 'Set oscillator in MHz
    'OSCCON = $60 '4 Megs...
  13. Replies
    1
    Views
    700

    DS1302 RTC Loop issues

    Hi All

    Just a quick question look for help maybe ..... I have the following code with a DS1307




    gettime: I2CRead SDA, SCL, $D0, $00, [RTCSec, RTCMin, RTCHour, RTCDay, RTCDate, RTCMonth,...
  14. Replies
    13
    Views
    2,182

    Re: Pullup Configuration Help

    Will experiment more when the decks are clear

    Andy
  15. Replies
    13
    Views
    2,182

    Re: Pullup Configuration Help

    Hi Richard

    It was only a switch ..... Still is, so no leakage either hard down to 0v when on or using the pull up to 5v.

    5v is good clean linear battery derived from 12v Cell .... No noise,...
  16. Replies
    13
    Views
    2,182

    Re: Pullup Configuration Help

    Well... I still dont know what i was doing wrong.

    With the inclusion of a 10K resistor all is working..... Cannot get internal pullups to work at all. I give up ;-)

    Thank you all for your...
  17. Replies
    13
    Views
    2,182

    Re: Pullup Configuration Help

    Hi Richard

    Yes.... Your code works fine :-)

    Something I am doing at my end. Thank you for listening

    Can post more tomorrow .... Working away at moment :-)

    BR
    Andy
  18. Replies
    13
    Views
    2,182

    Re: Pullup Configuration Help

    Thank you all

    I did ask similar previously... Still dont get why I am having issues... Clutching at straws a little.

    Just looking for help !

    Hardware engineer in a software world........
  19. Replies
    13
    Views
    2,182

    Pullup Configuration Help

    Hi All

    Been a whilst since I played with this stuff !




    ' Name : WhiteLightClock.pbp
    ' Compiler : PICBASIC PRO Compiler 2.6
    ' Assembler : MPASM
  20. Replies
    4
    Views
    1,101

    Re: 16f627a Loop issues

    Out of desperation I checked TRISB=%00000100

    Should be :- TRISB=%00001000 for RB3 Input :-)

    Not near the project at moment but might be the issue ????

    Possible lesson learnt. :-)

    BR...
  21. Replies
    4
    Views
    1,101

    Re: 16f627a Loop issues

    I understand TRISB.3 and OPTION_REG.7=0

    Why LVP_OFF, I think it is off anyway ?

    Still not working :-(

    BR
    Andy
  22. Replies
    4
    Views
    1,101

    16f627a Loop issues

    Help Please..... Thank you for reading

    I have a loop (Mainloop) that is looking at some RTC (DS1302) values and switching an LED depending on time of day.
    All is good as is.

    What I am...
  23. Replies
    4
    Views
    1,123

    Re: DS1307 Problems help please !!! :-)

    Thank you Both

    Both your replies have been implemented now I am running again..... Always have problems with the If/Then/Next Endif stuff :-)

    Thank you again

    BR
    Andy
  24. Replies
    4
    Views
    1,123

    DS1307 Problems help please !!! :-)

    Hi Thank you for reading...

    Using a 16f627

    All I want to do is turn a light on at a time and turn it off a time later.... What am I doing wrong here.

    Turns on OK but sees to add 4mins to the...
  25. Replies
    10
    Views
    2,769

    Re: Future project Ideas

    Hi Dave

    I did see this chip ..... However the price is unreal as to a couple of caps / resistors and a Schmitt.

    Question :-Would I need the Schmitt as the Inputs on most uChips seem to have one...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4