Search results

  1. L

    Set value for W and B

    //////////////////////////////////////////////////////////////////////////// I'm very sorry I didn't know you guys helped me understand this question, so I've re-posted the same question, I hope you can forgive me and delete this request if possible.Thank you so much...
  2. L

    If then gosub

    Dear all write picaxe programming I don't use it often and don't understand much about writing programs . I tried using symbol < . > = written in many ways but it didn't work So please help me fix this code . ** If b0 = 0 to 50 then gosub label ** ; please help me to correct...
  3. L

    Not go to subsection in programing

    Dear all I try this code on simulate , the code ruining but not reach to main1
  4. L

    Code for driver motor not working

    Dear All I wrote this code for the driver motor of the solenoid coil machine but it doesn't work. Please help me correct it for working many thank you. Best regards lam...
  5. L

    Repeating timer modifier

    'REUK.co.uk - The Renewable Energy Website. 'Picaxe Basic code for a repeating ON/OFF timer 'with the following ON and OFF timings: 'ON for 0 hours, 20 minutes, and 0 seconds. 'OFF for 4 hours, 0 minutes, and 0 seconds. symbol relay = C.1 main: for b2 = 1 to 20 gosub...
  6. L

    Button released

    ; Picaxe 08m Main: IF pin1= 1 then goto Marche IF pin2= 1 then goto Arret goto main Marche: High 0 goto main Arret: Low 0 goto main Dear All This code for driver a led or motor ,commands by push button in mode PRESSED . Please help me to have another...
  7. L

    I2C driver using bit bang help

    2C driver using bit bang. This can be used with any microcontroller which has 2 GPIO lines which can be configured as input/output typedef struct { unsigned int PIN0:1; unsigned int PIN1:1; unsigned int PIN2:1; unsigned int PIN3:1; unsigned int PIN4:1; unsigned int PIN5:1...
  8. L

    Again need help Read write external data with eeprom and 18m2 picaxe

    Dear All I would like to play and learning :how write and read EXTERNAL data from eeprom 24c16 or 24c256 with picaxe code.Please see photo Thank you I wish to read write only a few byte with 24c16 for easy start but I don't know how writing the code. I have tried this code (don't care over...
  9. L

    Read write external data to 24c256and 24c16 help

    ; ########### original code on ours forum ######### ;/////////////////////////////////////////// #PICAXE 28X2 ' Symbol i2cAddr24LC256 = %10100000 'For i2c address details, refer to Manual 2 "hi2csetup" b0 = 0 'Initialise byte variables b1 = 1 b2 = 2 b3 = 3 ' hi2cSetup...
  10. L

    W of i2c Please help

    Dear all This is a part of code from David Lincoln (book). Please could you help me to know how calculation the number for I2c 16kb (24LC16): *symbol memmax = ???? What number must set here for 24lc16 please *symbol memaddress = ????What number must set here for 24lc16 please I hope you...
  11. L

    Serial LCD + 08m2 picaxe help

    Dear all Please could you help me to know: Can I use 1602 16x2 LCD Character Display + IIC/I2C/TWI/SPI Serial interface Board Module(photo please) with 08m2 picaxe for see the display like as SERIAL OUTPUT BUFFER at Simulate picaxe and the simple code : # serout 1, T2400, ("HELLO") # Or...
  12. L

    Count over 65500 pulses is posible???

    Dear All In this circuit can count to 100000pulses .If yes Please help me to modifier this code or give me an other best code for more learning. Thank you in advance for you time init: let b0 = 0 main: if pin3 = 1 then add ; i/o pin 3 = physical ic pin 4 if pin3 =...
  13. L

    Pulse button control motor

    Dear all. I have copied and modified this code from http://www.picaxeforum.co.uk/showthread.php?17977-How-do-I-Count-Pulses/page2 for driver 2 motors + hall sensor in my mini coil winding machine but with my bad experienced not work. Please could you help me to to correct my wrong code or...
  14. L

    Pulsout waveforms without PAUSE

    Dear All. Just curious I would like to see waveforms out at pin 2 (picaxe 08M) without pause control (Please see my code) but my oscilloscope has been damaged.So could you help me to know the waveforms of my code is right?? and point me if is wrong please .Many thank you #Picaxe 08M Do...
  15. L

    Error : If without Endif

    Dear all I would like to used pin 1 and 3 for control 3 difference pulsout but no work. Please help me to rewrite my wrong code : Many thank you. # picaxe 08m do If pin1=0 and pin3=0 then gosub sau If pin1=1 and pin3=0 then gosub bon If pin1=1 and pin3=1 then gosub hai endif...
  16. L

    pwm for led

    Dear All.. I would like to build 3 different pulse generator for to try driver led in the time fountain device with 08m picaxe ( if cannot I will to buy 08m2) Please could you help me by give me this code . I've tried writing this code but only out( 0) work .Many thank you in advance...
  17. L

    Find old version picaxe programing

    Hi All,,, I like to keepsake a old version picaxe programming .If it possible please help me to know where I can to find for download. Thank you in advance.
  18. L

    Binary count down help

    ;***BINARY COUNT DOWN from 255 to 0 *** # picaxe 20m main: if pin0=0 then goto main;if button is not pressed then go back. pause 50 dec b0 ''''' Star count from 255 to 0, decrement a variable wait_for_butn_release: if pin0=1 then goto wait_for_butn_release...
  19. L

    Write External Data into picaxe is possible ???

    Dear All... I would like to put a data pulse EXTERNAL into picaxe only (ie:not user other eeprom 24xx)Please see my picture. If possible it can work, please help me to modifier my bad code. Thank you in advance for your time. Here my bad code (just for you understand what I would like to...
  20. L

    Let pins= picaxe 20m2

    Dear All. When I put this code : Do Let pins = %11111111 Wait 1 loop on picaxe 20m , all port out at SIMULATION go high. But with picaxe 20M2 not go high at all. Please help me to know ; must be use other code? or is normal? Thank you in advance.
Top