Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    10
    Views
    2,196

    Re: max7219 4x 8x8 panels spi

    Yes, OK. But from 6 bytes you went to 3 words. Cannot understand the calculation you did.

    ;@ db 0x0E,0x10,0x1C,0x10,0x10,0x0E; // Code for char...
  2. Replies
    10
    Views
    2,196

    Re: max7219 4x 8x8 panels spi

    What is the logic in the packing of the characters into words?

    Ioannis
  3. Replies
    10
    Views
    2,196

    Re: max7219 4x 8x8 panels spi

    Well, I was just about to post that logic analyzer keeps data at zero. I was watching that and could not think what was wrong...!

    Doh!

    Thanks Richard. Works now.

    Ioannis
  4. Replies
    10
    Views
    2,196

    Re: max7219 4x 8x8 panels spi

    Since I have on hand only 16F1827, I modified the code for the PortC pins but as expected does not work. Modifications in red.

    I really do not know what lata.5 does in your code. Maybe a led to...
  5. Replies
    69
    Views
    15,643

    Re: Heart rate sensor MAX30102

    It is very important to:

    1. have the finger cleaned with alcohol before testing and also clean the sensor with alcohol too.
    2. Not pressing hard the finger on the sensor, the shell of the sensor...
  6. Replies
    5
    Views
    134

    Re: Arraywrite can't write word variables?

    You may have an older manual. I believe that mine is most recent and on page 37 that is attached here (and not 35) there is correct comment on BYTE and not WORD sized variable. Also nowhere within...
  7. Replies
    5
    Views
    134

    Re: Arraywrite can't write word variables?

    You are using con or byte variable to read from the array.

    Ioannis
  8. Replies
    10
    Views
    2,196

    Re: max7219 4x 8x8 panels spi

    Thanks!

    Really cheap toys to play with!

    Ioannis
  9. Replies
    10
    Views
    2,196

    Re: max7219 4x 8x8 panels spi

    A bit late but just noticed this valuable post! Thanks once again.

    Is this driver for such a display?
  10. Re: My code for ADC button handling, it works, but can it be slimmed down?

    Here there are not ports... Only a ADVAL from ADC since the buttons are read as analog voltage.

    Ioannis
  11. Re: My code for ADC button handling, it works, but can it be slimmed down?

    So at any given moment you will not know which button was hit and will have to scan again.

    But even so, a flag for each button pressed is needed to keep it from regarding it as new press.
    ...
  12. Re: My code for ADC button handling, it works, but can it be slimmed down?

    maybe I am a bit slow.. But how you can have 40 buttons but not 40 variables to distinct between them?

    Ioannis
  13. Re: My code for ADC button handling, it works, but can it be slimmed down?

    if !flag then
    adcin 1, adcval 'read keys
    SELECT CASE adcval
    CASE < 10 : left=left+1:flag=1 'detect button presses
    CASE < 100
    @ NOP
    CASE < 130 : right=right+1...
  14. Re: My code for ADC button handling, it works, but can it be slimmed down?

    Doesn't post#2 with the use of Select Case do what you want with the least code/var usage?

    Ioannis
  15. Re: 1Wire serial EEPROM, DS28EC20 and similar, any experience?

    The I2C works just fine. Used many times the I2CREAD and I2CWRITE commands.

    When there was a problem, was always my mistake in address, wrong use of commands (variable vs constant).

    Complete...
  16. Re: "WAIT" modifier with multiple choices - how to?

    Long ago, our member Melanie posted this great test program parsing strings and executing commands from a terminal through serial port, with no interrupts in a fast closed loop. It had great...
  17. Re: "WAIT" modifier with multiple choices - how to?

    The AND in the If statement is really memory hungry.

    Ioannis
  18. Re: "WAIT" modifier with multiple choices - how to?

    Yes you can. But maybe you can give an example of what you want?

    Ioannis
  19. Replies
    81
    Views
    26,535

    Re: SSD1306 INCLUDE for PBP3

    That is nice! Is there any post on the forum how this can be done?

    This needs 2304 bytes for 6 pieces and I think this can be managed.

    Ioannis
  20. Replies
    81
    Views
    26,535

    Re: SSD1306 INCLUDE for PBP3

    The thing is getting more and more complicated...

    I am considering to switch over to a 3,5" Nextion display. Much easier, preloaded images. Even a 12F could handle that! Still I have to use the...
  21. Replies
    3
    Views
    347

    Re: What does serial data mean?

    He was warned. One more and is out.
  22. Replies
    81
    Views
    26,535

    Re: SSD1306 INCLUDE for PBP3

    Yes, you are right. I took it for granted that this was taken care in the include file. Now it works OK with hard I2C also.

    Next, how to import the 16x16 characters into the 5x7 library.

    Can...
  23. Thread: Season wishes

    by Ioannis
    Replies
    2
    Views
    197

    Season wishes

    I'd like to wish you all Merry Xmas.

    Have a wonderful time with the people you care and love!

    Ioannis
  24. Replies
    81
    Views
    26,535

    Re: SSD1306 INCLUDE for PBP3

    Just tested the new include you post and works with soft I2C as expected. But not on hardware I2C...

    My code with new include:



    #CONFIG
    CONFIG PLLDIV = 1 ; Divide by 5 (20...
  25. Replies
    81
    Views
    26,535

    Re: SSD1306 INCLUDE for PBP3

    Merry Xmas to all.

    here are the files I used to test the SSD1306 lcd.

    Ioannis
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4