Search results

  1. B

    Panneaux solaires et automatismes de consommation

    Je cherche des idées pour automatiser la consommation électrique en fonction de la production des panneaux solaires. L'onduleur Fronius permet de piloter 4 contacts secs en fonction de divers critères liés à la production d'électricité. L'idée serait de piloter le chauffe eau, le lave linge...
  2. B

    Meilleurs vœux à tous pour cette nouvelle année !

    La santé avant tout, Et des montages utiles et amusants...
  3. B

    Stack Overflow challenge ...

    Is it possible to make a stack overflow without using the GOTO command ? ' ! démonstration de ce qu'il ne faut pas faire ! Main: sertxd("b0=",#b0,13,10) gosub SousProg goto Main SousProg: inc b0 if b0>0 then goto Main return
  4. B

    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 Operator precedence Here is the current version : As you can see, some rules are functional. If of...
  5. B

    New ATAN approximation in Code snippet...

    Just posted a new ATAN approximation http://www.picaxeforum.co.uk/showthread.php?27381-Better-atan-approximations&p=318208#post318208
  6. B

    Joyeux noel a toutes et a tous

    Je n'aurai plus accès à Internet ces prochains jours, donc j'anticipe légèrement... De même, écriture "inclusive" oblige pour les Picaxiennes fort peu nombreuses en France, (ou alors fort discrètes...) mais bon ça viendra ! Pleins de petits Picaxes sous le sapin, et en tout cas pleins d'idées...
  7. B

    For beginners : frequent mistake...

    Alarm: for I= 0 to 9 high doorbell pause 100 low doorbell next I return Seem to sound doorbell every 200 ms... but a pause is missing ! This one works as expected and is shorter... Alarm: ' supposing Doorbell is low at start for I= 0 to 9...
  8. B

    Some basics to explain TABLE

    For Alexrowland... TABLE 0,("ABCDE") readtable 0,b1 sertxd ("readtable 0,b1 : b1=",b1,13,10) readtable 2,b1 sertxd ("readtable 2,b1 : b1=",b1,13,10) You can try this code with the simulator.
  9. B

    Feature request Named Pipe Plugin

    Named pipe Plugin is an interesting feature but at the time limited to pin I/O. Will it be possible to have serial data changes ? (serin/serout, I2C, SPI...) So we can write device simulation (ds1207, LCD, APA102,...) By the way, when only one pin change, it's not of interest to have whole...
  10. B

    Time not corectly simulated ?

    Time not correctly simulated ? This work : do sertxd (#Time," ") if time>4 then sertxd("Time Over",13) endif loop That not : do ' sertxd (#Time," ") if time>4 then sertxd("Time Over",13) endif loop
  11. B

    Test de réactivité en aveugle

    Mon objectif est de déterminer à quelle fréquence on doit rafraîchir un servo pour que le pilote ait le sentiment d'une bonne "réactivité". Si vous posez la question à un pilote, il répondra probablement "la plus grande possible" ce qui n'est pas une réponse, l'objectif étant en particulier de...
  12. B

    Programmation graphique

    Ce thread est ouvert afin de ne pas continuer à polluer le thread.Obtenir-une-temperature-avec-Logicator Tout a fait d'accord avec vous pour l'intérêt des nouvelles techniques de programmation, y compris celle que vous citez. Quand je parle de nivellement par le bas, c'est pour dire qu'on...
  13. B

    ConnectIO software simulation plugin

    Is there any documentation for the ConnectIO software simulation plugin ?
  14. B

    Floating Point Library

    This is my Beta version for a Floating point Library. Floating Point Numbers (FPN) are stored in - a word variable for Mantissa - a byte variable for exponent A normalised positive FPN bit16 is always one (32767<FPN Mantissa<65536) For the time, negative FPN are not supported. Due to Picaxe...
  15. B

    PE 6.0.8.0 simulation : problem with **

    Can-you confirm problem with simulation and step by step of this little code ? #picaxe 40X2 #no_table #simspeed 1 w0=52488 w1=41472 w2=w0**w1 sertxd("w2=",#w2,13,10) or I have another specific problem...
  16. B

    Problem with simulator

    I think there is a problem with step by step simulation in this erroneous program : #picaxe 40X2 #no_table #simspeed 1 w1=1<<2 w1=1<<15 w1=1<<16 w1=1<<17 w1=1<<31 w1=1<<32 w1=1<<63 w1=1<<127 w1=1<<254 w1=1<<255 PE6 stop working after w1=1<<17 Can you confirm ?
  17. B

    about GOTO command

    I recently answered a help request for a 11 lines program. In that one, I "only" saw 8 GOTO commands so I wrote : Please, forgot GOTO command wich is only a good way to write confusing and erroneous program... As someone said that "there is nothing wrong with using GOTO.", I submitted that code...
  18. B

    Suggestion : negative numbers directive

    To allow numbers > 32767 being interpreted as negative numbers Already done for add, substract and multiply need update for divide, sertxd and all like
  19. B

    What is supposed to be ATAN ?

    It seem to be an implementation of Arctan from a post by Technical ArcTan-Approximation In Picaxe manual, section 2, page26, I can read : As the arctan input is always a value between 0 and 1, and ATAN is supposed to work from 0 to 45 degrees But when I simulate it, answer is always 0 from 1...
  20. B

    Clavier matriciel : analyse de tension

    Suite à différents essais sur un autre thread, je propose un programme d'analyse des tensions renvoyées par le ReadADC. L'objectif est de réaliser un oscillo sommaire permettant d'avoir une idée de l'évolution des valeurs lues par le Picaxe lors de la pression d'une touche. Plusieurs hypothèses...
Top