Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Recent content by kawauso

  1. K

    PIC 16F887 > LM335 > Can not display value of more than 1 decimal

    Merci ! But to be honest, I founded a routine that paulfjugo dropped in a former discussion. Who fits and runs. But I do not understand almost nothing …
  2. K

    PIC 16F887 > LM335 > Can not display value of more than 1 decimal

    Bonjour, Would like to display 2 or 3 decimals on LCD. For example, display 22,5; or 22,50; or 22,500. But would like to display 22,57; or 22,524 for example. // MCU : PIC 16F887 // External clock : Quartz 4 MHz // LED YELLOW is connected to pin 17 (portc.b2). // LED GREEN is connected to pin...
  3. K

    PIC16F > LCD locked at - 9000000,00 ...

    Merci for clear explanation.
  4. K

    PIC > LCD > Displaying string and int value

    I would prefer yours in order to understand what inside. But still frustrated concerning minus « - » not displayed with my PIC16F887 ...
  5. K

    PIC > LCD > Displaying string and int value

    Merci. I already used this way while trying to run a former code with sprintf with 16F877 and 887. Could only use sprintl or sprinti.
  6. K

    PIC > LCD > Displaying string and int value

    Merci Ian, Will try and understand. But unfortunately I think sprintf doesn’t run on PIC 16F ... Will switch soon to 18 F ...
  7. K

    PIC > LCD > Displaying string and int value

    No worries. I undestand. I will still search from my side. Merci.
  8. K

    PIC > LCD > Displaying string and int value

    Bonjour Ian, Did you try ? Merci ! Eric
  9. K

    PIC > LCD > Displaying string and int value

    I use mikroelektronika. long type is implicitly signed. https://download.mikroe.com/documents/compilers/mikroc/pic/help/arithmetic_types.htm
  10. K

    PIC > LCD > Displaying string and int value

    Bonjour Ian, In order to count for(sec = -8388607; sec <= 8388607; sec = sec + 0.5), I fitted your routine to my needs as follow here under ... But ... ‘-‘ minus never displays ... And what is the aim of lines : if (*(flt + 2) == 48) *(flt + 2) = 32; // 32 = space Code : void...
  11. K

    PIC > LCD > Displaying string and int value

    Bonsoir Ian, Thank you to enlighten me. I m trying to switch with your instruction ... it’s almost ok ... I will try some changes by my own, maybe will come back. About the line with abs ... I would not use any fonction of the library, how could I change this line ? number = - number doesn’t...
  12. K

    PIC > LCD > Displaying string and int value

    Dear Ian, Sorry for my late reply. I tried ypur routine in my code. I probably missed some thing, because in line 2 of LCD, LCD doesn't displays the decounting of microsecond (just for testing the code, rapidely and in a wide situation). Do you have an idea. Compiled with mikroC from...
  13. K

    PIC16F > LCD locked at - 9000000,00 ...

    Thanks for your reply. Interesting. I almost understood all. The compiler is MikroC. I learnt that with 16F I can not use printf ... And would prefer to write my one routines first instead of using first the MikroC Library for my understanding.
  14. K

    PIC16F > LCD locked at - 9000000,00 ...

    Dear coders, I tried, for curiosity to expand the range of counting, from - 9 000 000 to + 9 000 000, but the code doesn’t decount. The LCD freezes at -9000000,00. I’m shure you will enlighten me. Thanks. Here under is the code : Code : // LCD module connections :LCD module connections ...

Latest threads

Back
Top