Recent content by mortifyu

  1. M

    connecting and programming lcd displays connected to a picaxe 18m

    Very helpful. Thank you chaps. Regards, Mort.
  2. M

    connecting and programming lcd displays connected to a picaxe 18m

    Nope, Mort didn't try your code. I just chimed in with my own experiences that I know work. But while on the subject (but not to hijack this thread) in my code 'Initialize and setup LCD' in this thread, can anyone with a single line LINK point me to where Hippy came up with these addresses and...
  3. M

    Losing hours over stupid lcds

    Hi, only just saw this thread. Here is some CODE that DOES work as I use it regularly with 20X4 LCD's with my own PCF8574T I2C interface circuitry which is effectively the same as the piggyback I2C interface shown in POST #8. The CODE is ALL credit to Hippy and a few other awesome peeps on this...
  4. M

    Possible PE6 Simulator fault, or is it me?

    Hi Flenser, I did as you told me and indeed you are bang on. Jumping right in with the '#SIMULATION 100' line solved the issue. Thank you very much for your assistance guys. ALWAYS! very much appreciated more than words on your screen can describe. Coming here asking questions is like an...
  5. M

    Possible PE6 Simulator fault, or is it me?

    Hi Alan, Sorry, it is a 40X2. The 'received:' label is much further down in the program. I wrote the CODE example to show the problem I am having. As a matter of interest... if timer<2 and HSerFlag=0 then goto Ready is equivalent to if timer<2 and HSerFlag=0 then goto Ready Is...
  6. M

    Possible PE6 Simulator fault, or is it me?

    Hi Guru's, I am finding the SIMULATOR not operating as expected. Is it me, or is this an error in the SIMULATOR? HSerSetup B9600_8, %01 settimer t1s_8 HSerFlag=0 HserPtr=0 ptr=0 . . ...Receive three Bytes of DATA . . ptr=0 sertxd(@ptrinc," ",@ptrinc," ",@ptr,cr) 'Displays DATA as...
  7. M

    Setting multiple BITS more efficiently

    Hi, yes I understood : made for a new line of code, I just thought (for some silly reason) a BIT change like that was going to be referenced to the preceeding addressed BYTE. Instead in future I will use your example in POST #11. Thanks Alan, you're a gem. Regards, Mort.
  8. M

    Setting multiple BITS more efficiently

    Thanks for the clarification of having bit availability of ONLY b0 to b3. how is anybody supposed to know... HI2CIN [$E0],$00,(b4): bit7=1: pause 8: HI2COUT [$E0],$00,(b4) Sorry, I thought this line of code clarified what I was talking about. Regards, Mort.
  9. M

    Setting multiple BITS more efficiently

    Yes, I am a BIT 🤪 of a goose. I did read that, guess I am getting a BIT old and slow ☺. I made alterations using BIT15 to BIT8 and that resolved the problem when utilizing b1. Further, I have also now come to the realization that... b0 = bit7 to bit 0 b1 = bit15 to bit 8 b2 = bit23 to bit 16...
  10. M

    Setting multiple BITS more efficiently

    So now I find using b0 works fine, but a change to b1 (or any other byte) does not. Why would this be? HI2CIN [$E0],$00,(b0): bit7=1: pause 8: HI2COUT [$E0],$00,(b0) 'Works fine HI2CIN [$E0],$00,(b1): bit7=1: pause 8: HI2COUT [$E0],$00,(b1) 'Does not work. Regards, Mort.
  11. M

    Setting multiple BITS more efficiently

    And there it is... HI2CIN [$E0],$01,(Temp_Byte): bit6=1: bit5=1 Thank you Ibenson. That is exactly what I was looking/hoping for. Also thanks to the other Guru's that popped in suggestions. Always a pleasure to score some further education from AlleyCat and others ;) Kind regards, Mort.
  12. M

    Setting multiple BITS more efficiently

    Hi Guru's Here I have a scenario in which I need to read specific BYTE's from an external LED&Keyscan matrix chip (Holtek - HT16K33), make alterations to individual BITS of the read BYTE and then write the BYTE back to the HT16K33. For understanding, there are parts of two different BYTES...
  13. M

    Hippy

    Hippy... Upon Hippy’s return, someone at the top of Rev Ed should organise to double his salary. As I am sure very many would agree... Hippy is definitely worth it! I for one have purchased many thousands of dollars of PICAXE chips over time and can say Hippy’s help beyond any shadow of doubt...
  14. M

    Programming Adafruit 4-Digit Displa7 (HT16K33)

    For the sake of the forum Technical's post #18 is the only way this can be achieved. Noted from Holtek themselves. Regards, Mort.
  15. M

    Programming Adafruit 4-Digit Displa7 (HT16K33)

    Thanks for that. Yep, I can see that will semi achieve what I am after, however reading the datasheet (page 10) they talk about 'Display Data Address Pointer. I am thinking this is what I am after, but just how to directly alter a single bit by command? Regards, Mort.
Top