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
    16
    Views
    2,415

    Re: max7219 4x 8x8 panels spi

    Yes, that did it.

    Thanks,
    Ioannis
  2. Replies
    16
    Views
    2,415

    Re: max7219 4x 8x8 panels spi

    Well, results don't match.

    I do this:

    1. on GLCD Font Creator 5x6 is selected since that is what says in the program: '//GLCD FontSize : 5 x 6

    9169

    2. Then the character 48 is designed
  3. Replies
    16
    Views
    2,415

    Re: max7219 4x 8x8 panels spi

    Mikroe outputs the characters in columns but your data is in rows. Did you rotate them by hand or can GLCD do that?

    Ioannis
  4. Replies
    16
    Views
    2,415

    Re: max7219 4x 8x8 panels spi

    After making the paper and pencil homework, I was amazed by your thinking! So simple, so clever, so efficient!

    Ioannis
  5. Replies
    16
    Views
    2,415

    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...
  6. Replies
    16
    Views
    2,415

    Re: max7219 4x 8x8 panels spi

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

    Ioannis
  7. Replies
    16
    Views
    2,415

    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
  8. Replies
    16
    Views
    2,415

    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...
  9. Replies
    77
    Views
    16,013

    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...
  10. Replies
    5
    Views
    152

    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...
  11. Replies
    5
    Views
    152

    Re: Arraywrite can't write word variables?

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

    Ioannis
  12. Replies
    16
    Views
    2,415

    Re: max7219 4x 8x8 panels spi

    Thanks!

    Really cheap toys to play with!

    Ioannis
  13. Replies
    16
    Views
    2,415

    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?
  14. 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
  15. 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.
    ...
  16. 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
  17. 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...
  18. 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
  19. 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...
  20. 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...
  21. Re: "WAIT" modifier with multiple choices - how to?

    The AND in the If statement is really memory hungry.

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

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

    Ioannis
  23. Replies
    81
    Views
    26,796

    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
  24. Replies
    81
    Views
    26,796

    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...
  25. Replies
    3
    Views
    379

    Re: What does serial data mean?

    He was warned. One more and is out.
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4