Search results

  1. O

    Hippy Version 3.0

    Hi Hippy, Your regular presence will be greatly noticed and missed by all of us, but when it's time for a break, it's time for a break. I wish you well with your retirement plan.
  2. O

    How do i create a HOLD-in button function?

    Hi All, I was thinking about adding a button onto a project, where the button must be held IN for say 2 seconds before a function within my code is triggered. I was looking at "Button" & "If Pin" options maybe with a long pause command (for 2 seconds), but not sure if they would achieve the...
  3. O

    My Pot Position LED patterns not quite right ????

    Hi All, Well, i've tried a few different coding options and they all seem to work much better than my original code snippet. I have also increased the pot divisions to 40 and 80 zones instead of my initial 20 pot zones for the ADC to decode. However, i am seeing some jitter between any 2...
  4. O

    My Pot Position LED patterns not quite right ????

    Thank You Alan, I do (now) see my error with dividing by a larger number instead of a smaller number to get more zones on my pot. Yes, depending on the division there will always be a few values missing(or extra) at the end of range of the pot, but that's ok.
  5. O

    My Pot Position LED patterns not quite right ????

    Ahh, i see, i've been dividing by the wrong number when adding more zones ;-( Thank You.
  6. O

    My Pot Position LED patterns not quite right ????

    Yes, it's a 50k (B) Linear Pot and currently it works perfectly that all 16 zones are spread evenly from one end of the pot (all LEDs off) to the other end of travel where all LEDs are ON.
  7. O

    My Pot Position LED patterns not quite right ????

    Hi All, I created this small code to read a pot position and generate a pattern of LEDs attached to the Port.B pins. It works fine "as is", but when i try to change my pot range to more than 16 patterns on the LEDs, it never seems to go beyond my 16 pot ranges assigned. The Pot_Position value...
  8. O

    When does 'beta' turn to 'alpha' ?

    My question would have been "when will PE6 become PE7?" I have a strong feeling that a PE7 might need to be written by a different (highly motivated) party to keep things moving forward & fresh, but that's just my 2cents ;-)
  9. O

    How do we use an IR remote control & detect multiple button-presses?

    Yes, that's exactly the goal and a small timeout delay would be used, much like a regular TV remote control, you either type in the complete channel number "23"or it defaults to channel "2" if that was all i pressed within the small delay window.
  10. O

    How do we use an IR remote control & detect multiple button-presses?

    The commands are emulating a keypad code entry, so 1 to 512 will be needed. Yes, it's a lot of data to store either in the picaxe or external eeprom.
  11. O

    How do we use an IR remote control & detect multiple button-presses?

    Thanks again Hippy, I'll definitely look into this and see how it goes for my project.
  12. O

    How do we use an IR remote control & detect multiple button-presses?

    Thanks Hippy for your input, but i'm not entirely sure why you multiply by 10 to create large numbers. what is the reason for doing that? (just so i can get my head around it lol).
  13. O

    How do we use an IR remote control & detect multiple button-presses?

    The requirement is no different my to TV, where channel 1 is whatever tv station and 12 is some other station, and 123 is some digital radio station etc etc.
  14. O

    How do we use an IR remote control & detect multiple button-presses?

    No, i can't miss any codes, it must decode 1 to 512 on a remote control to copy what the external equipment expects on its keypad entry.
  15. O

    How do we use an IR remote control & detect multiple button-presses?

    Hi all, As the title states...."How do we use an IR remote control & detect multiple button-presses?" I'm building a small IR-picaxe interface to add into a legacy piece of equipment, but the equipment needs to detect a single button-press up to a 3 digit button-press to enable different modes...
  16. O

    How do we invert a complete byte variable?

    Nope, No DOH's at all lol I didn't use the "#" symbols because i wanted to see the HEX values instead of the decimal values. I believe it's a legit bug in the simulator. ;-( Feel free to try my code-snippet and see if you also have some missing numbers in the listing, like $9, $A & $D like i do.
  17. O

    How do we invert a complete byte variable?

    Hi again, I tinkered a little to use HEX numbers and found that the listing bugs out when the hex value reaches 9,A or D. if i change "for b0 = $0 to $F" to "$FF", then the counting bug comes and goes through various banks of numbers. Here's the code i used, if anyone wants to try it in their...
  18. O

    How do we invert a complete byte variable?

    Hi all, Thanks for all the options. Thanks Aries, i will use the simulator to help confirm my concepts & coding ;-)
  19. O

    Generating code with ChatGPT

    Did you want a single-sided world? or a double-sided world? ;-)
  20. O

    How do we invert a complete byte variable?

    Thanks for that, I have just discovered this in the manual, under the "Variables - Unary Mathematics" section: NOT The NOT function inverts a value. e.g let b1 = NOT %01110000 (answer b1 = %10001111) However, it seems i need to know the data value to be inverted and i simply want to invert...
Top