​ ​ ​ Search Results - PICAXE Forum

Search:

Type: Posts; User: BESQUEUT

Page 1 of 20 1 2 3 4

Search: Search took 0.06 seconds.

  1. Replies
    7
    Views
    266

    So, with PieM example, "n1" is replaced by the...

    So, with PieM example, "n1" is replaced by the value "2" and you get :
    2= 2 | %11100000

    ==> Syntax error...
  2. No problem till 2A ! Green Discharge curve for...

    No problem till 2A ! Green Discharge curve for NiMH 2000 mA
  3. Replies
    37
    Views
    1,452

    Well... lot of work to be done... :( Works...

    Well... lot of work to be done... :(
    Works when in_Max=1023, but lots of problems with others values...
  4. Replies
    37
    Views
    1,452

    This certainly can be made simpler, but that...

    This certainly can be made simpler, but that works at least for tests values...


    ' Enter your values here :
    symbol in_max=1023
    'symbol out_max=144
    'symbol out_min=1

    symbol out_max=5000...
  5. Replies
    10
    Views
    1,716

    PE6_Named_Pipe_Plugins.pdf...

    PE6_Named_Pipe_Plugins.pdf
    Successfully made a plugin...
    But I wanted to simulate an I2C device, and this is not possible with current protocol.

    Asked for a way to send/receive messages via I2C...
  6. Replies
    10
    Views
    1,716

    Answer was in 2016... Was it on the 2017 feature...

    Answer was in 2016...
    Was it on the 2017 feature request list ?
    Will it be on the 2018 feature request list ?
  7. Replies
    37
    Views
    1,452

    output = input * 128 / 455 + 1 For Hippy #18...

    output = input * 128 / 455 + 1

    For Hippy #18 criteria :
    - 3 values for LED 144
    - 4 values for LED 143
    - 3 values for LED 142
    etc ...

    NB1 : 1024/144=7.1 => 7 values for each LED, and...
  8. Replies
    37
    Views
    1,452

    If they want to see 5V for 1023, they can scale...

    If they want to see 5V for 1023, they can scale to 5,005V, but there are still 1024 steps numbered from 0 to 1023...
    Step 1023 will cover 4.997 6 V to 5.002 5 V
    and round to nearest integer, (add...
  9. Replies
    37
    Views
    1,452

    IMHO, this is absolutely not debateable : there...

    IMHO, this is absolutely not debateable : there are exactly 1024 steps numbered from 0 to 1023.

    If vref- is 0V and Vref + is 5V :
    anything from -0.002 441 V to +0.002 440 V gives ADC10=0...
  10. Replies
    37
    Views
    1,452

    First attempt, supposing in is readadc10, so :...

    First attempt, supposing in is readadc10, so : in_min=0, in_max=1023 ==> in_max-in_min +1 =1024
    N=(x-in_min)*(out_max-out_min) that is N = x * (out_max-out_min)
    N <65536
    So there can't be more...
  11. Replies
    24
    Views
    1,147

    IMHO as long as it fit in program memory, macros...

    IMHO as long as it fit in program memory, macros are very usefull for readability and speed.
    As long as it fit in memory, there is no reason to optimize code size.

    But, your are true : as soon as...
  12. Replies
    27
    Views
    1,517

    OUI : si on lit quelque chose autre que zéro, ce...

    OUI : si on lit quelque chose autre que zéro, ce n'est pas trivial mais c'est possible, à priori en mémorisant la valeur au démarrage comme expliqué en #2.
    On doit même pouvoir recaler à chaque...
  13. Replies
    27
    Views
    1,517

    A priori, tous les dessin de touchpad ont des...

    A priori, tous les dessin de touchpad ont des pistes de masse au voisinage des pads, quand ce ne sont pas carrément des 1/2 pads : 1 à l'entrée du microcontrôleur, l'autre à la masse....
  14. Replies
    27
    Views
    1,517

    Donc la les masses sont reliées et pourtant ce...

    Donc la les masses sont reliées et pourtant ce ne marche pas...
    Je remarque que sur les touches vendues par ŕev-éd il y a un fil de masse et un plus à proximité du pad.
  15. Replies
    27
    Views
    1,517

    Pas normal du tout. Que ça donne des trucs très...

    Pas normal du tout.
    Que ça donne des trucs très variables, donc difficiles à exploiter, soit...
    Mais zéros, ça signe un gros problème.
    Ce que je ne m'explique pas, c'est que vous dites en #1 que...
  16. Thread: IF Statement

    by BESQUEUT
    Replies
    10
    Views
    543

    +1 ...

    +1 .
  17. Replies
    27
    Views
    1,517

    Mais là on a bien une terre ! Et vous dites en #1...

    Mais là on a bien une terre ! Et vous dites en #1 que dans ce cas ça marche ?
    Vous devez voir des tas de zéro apparaître. C'est bien ça ?
    Il faudrait à minima ajouter un espace, genre sertxd(#w13,"...
  18. Thread: IF Statement

    by BESQUEUT
    Replies
    10
    Views
    543

    I would avoid writing a RETURN in an IF...

    I would avoid writing a RETURN in an IF statement...
    When condition is not reached, the GOSUB statement is never unstacked, and that may cause unpredictable behaviour...
    Just after the GOTO...
  19. Replies
    27
    Views
    1,517

    Bizarre... Quelles sont les valeurs lues sans et...

    Bizarre...
    Quelles sont les valeurs lues sans et avec le doigt en absence de mise à la terre ?
    En cas d'absence de LCD, (et de port série opto-isolé) ces valeurs peuvent être écrites en EEPROM,...
  20. Thread: IF Statement

    by BESQUEUT
    Replies
    10
    Views
    543

    I do not understand why the second example run......

    I do not understand why the second example run...
    It is always better to write multi lines :


    MySubroutine:
    if location=27 then
    gosub homeLCD
    serout TXLCD, baudLCD64,...
  21. Replies
    27
    Views
    1,517

    Tout à fait ; et je dirais même plus : il est...

    Tout à fait ; et je dirais même plus : il est également utile de connaitre la variation de capacité quand on a un doigt sur la touche, ce qui permet d'avoir un ordre de grandeur de la "marge" à...
  22. Just uploaded new version, with install and user...

    Just uploaded new version, with install and user manual. See post #1
    Hope this will be more interesting...


    Picaxe Math converter is not intended to check Picaxe syntax. PE6 is well for that......
  23. Thread: serrxd/sertxd

    by BESQUEUT
    Replies
    21
    Views
    807

    Please : use [CODE] ... [/ CODE] when you...

    Please : use [CODE] ... [/ CODE] when you publish some code,or use "right/clic" copy for forum...

    So, you are using a first Picaxe to send data to another one ?

    Your "main loop" does not loop...
  24. Thanks for your interest ! As this is a "work in...

    Thanks for your interest !
    As this is a "work in progress" not having replies is not a problem. I have to write an "user guide" to explain :
    - beginners usage : show how to convert "regular...
  25. ROSLYN : Expression to Picaxe Math converter

    I am currently learning ROSLYN
    As an exercice, I try to write a "BASIC Math expression" to "PIcaxe math" program...
    BASIC math expression are commonly defined by :
    Combination of operators...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4