• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

test please delete

Collapse
This is a sticky topic.
X
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    Originally posted by zeitghost View Post
    Been having a quick hack of some code for my weather fax thingy, using a PIC16F88...

    Found some code on the Microchip website for a 16f877, which is much the same sort of thing.

    Attempt to assemble said code & it comes up with the inscrutable error message "argument out of range" for a configuration directive...

    Wot? says I, wotcha talking about?

    And merrily hack away at this config thingie.

    Turns out that the 16f88 has two config registers, _config1 and _config2, whereas the 16f877 only has the one...

    So instead of

    __CONFIG _CP_OFF & _WDT_OFF & _BODEN_OFF & _PWRTE_ON & _XT_OSC & _WRT_ENABLE_OFF & _LVP_OFF & _DEBUG_OFF & _CPD_OFF

    what I really needed was

    __CONFIG _CONFIG1, _CP_OFF & _WDT_OFF & _BODEN_OFF & _PWRTE_ON & _XT_OSC & _WRT_ENABLE_OFF & _LVP_OFF & _DEBUG_OFF & _CPD_OFF

    Obvious really.

    Only had to read the include file to figure that one out...
    Sweety Zeity - you are talking geek again
    Bazza gets caught
    Socrates - "The only true wisdom is in knowing you know nothing."

    CUK University Challenge Champions 2010

    Comment


      Originally posted by Bear View Post
      Spent lunch wandering around Borough Markets today - I had a venison burger.....


      ... And a pint in The Market Porter
      Mmmmmmmmmmmm...

      Bambi burger.... yum...

      Used to horrify my (then) vegetarian niece by eating such things...

      Comment


        Originally posted by BrilloPad View Post
        I saw it in bluewater - £16. Liked it. gf said "I will buy it for your birthday in 2 weeks - lend us £20".

        I never got the change or the t-shirt money...
        Thank God, it's not just me:

        Wifey: Lost my card. Need to wait 5 days for new one. Lend us £150
        *lends £150, and 5 days later*

        Wifey: We need 2 lamps for the spare bedroom. Don't worry, I'll buy them.
        You've got lots to pay:mortgage,bills,etc

        * 2 days later *
        Me : Errr, about the £150...
        Wifey : I bought the lamps as promised, which were £165,
        so we're just about even.

        Comment


          Originally posted by cailin maith View Post
          Sweety Zeity - you are talking geek again
          I sometimes need to... It reminds me of what I used to be...

          Comment


            Originally posted by Pinto View Post
            Thank God, it's not just me:

            Wifey: Lost my card. Need to wait 5 days for new one. Lend us £150
            *lends £150, and 5 days later*

            Wifey: We need 2 lamps for the spare bedroom. Don't worry, I'll buy them.
            You've got lots to pay:mortgage,bills,etc

            * 2 days later *
            Me : Errr, about the £150...
            Wifey : I bought the lamps as promised, which were £165,
            so we're just about even.

            Thank crunchy I'm single...

            Comment


              Originally posted by cailin maith View Post
              Is it nice Ted? I'm looking forward to my trip to London
              It's basic

              Nice beer

              Not waterside

              Quiet today
              Si posse, recte, si non, quocumque modo rem

              Comment


                Originally posted by Bear View Post
                It's basic

                Nice beer

                Not waterside

                Quiet today
                Magners?
                Bazza gets caught
                Socrates - "The only true wisdom is in knowing you know nothing."

                CUK University Challenge Champions 2010

                Comment


                  Originally posted by zeitghost View Post
                  Turns out that the 16f88 has two config registers, _config1 and _config2, whereas the 16f877 only has the one...

                  So instead of

                  __CONFIG _CP_OFF & _WDT_OFF & _BODEN_OFF & _PWRTE_ON & _XT_OSC & _WRT_ENABLE_OFF & _LVP_OFF & _DEBUG_OFF & _CPD_OFF

                  what I really needed was

                  __CONFIG _CONFIG1, _CP_OFF & _WDT_OFF & _BODEN_OFF & _PWRTE_ON & _XT_OSC & _WRT_ENABLE_OFF & _LVP_OFF & _DEBUG_OFF & _CPD_OFF

                  Obvious really.

                  Only had to read the include file to figure that one out...

                  Comment


                    Originally posted by Pinto View Post
                    Thank God, it's not just me:

                    Wifey: Lost my card. Need to wait 5 days for new one. Lend us £150
                    *lends £150, and 5 days later*

                    Wifey: We need 2 lamps for the spare bedroom. Don't worry, I'll buy them.
                    You've got lots to pay:mortgage,bills,etc

                    * 2 days later *
                    Me : Errr, about the £150...
                    Wifey : I bought the lamps as promised, which were £165,
                    so we're just about even.

                    I'm not sure which is more egregious: the maths, or the entirely inappropriate use of the word "need"

                    Comment


                      Did RH send out PMs?

                      I didn't get one

                      Didn't see if they had Magners or not but they do have small brewery cider on draught - i bet that's nice.

                      I'll try it for you next week.
                      Si posse, recte, si non, quocumque modo rem

                      Comment

                      Working...
                      X