Search results

  1. M

    LCD

    This is the code I am using and works on the simulator but not on the bread board. #picaxe 08m2 serout C.1,N2400,(254,1);set B.6, as output for LCD let dirsC = %00000000 ;set pinsC as inputs or outputs let dirsB = %11111111 ;set pinsB as inputs or outputs(pin B.0) ; *** reset...
  2. M

    Flashing light display

    All working must of been a bad connection hurrah!! only took an hour!!
  3. M

    Flashing light display

    It works on a breadboard so must be the PCB or the students soldering!
  4. M

    Flashing light display

    The circuit works now with the tune on C.2 but will not work on the circuit. Only led's flash on and off on C.0. Which should not happen. I am not sure about the comments above. I have a 10k pulling down on C.5 (serial in) as I am using a programmer board. I will try it on a bread board and see...
  5. M

    Flashing light display

    I am using a 08m2 circuit diagram attached. When I down load the code, only pin 7 C.0 flash on and off. I even tried just turning all outputs on and still only pin 7 C.0 came on then off and repeated? init: let dirs = %00110111 main: label0: if Input3 is On then label1 goto label0...
  6. M

    LCD

    Sorry but how do I change what I am using?
  7. M

    LCD

    Hi, Do you know if I can use a LCD05 on my code (08m2)? I am having trouble writing to the LCD using this code? Can some one help please https://www.robot-electronics.co.uk/htm/Lcd05tech.htm ;output pin9 B3 - row 4 ;output pin8 B2 - row 3 ;output pin7 B1 - row 2 ;output pin6 B0 - row 1...
  8. M

    Simon says game

    Many thanks, sorry I am a little new at this site, where do I find the examples?
  9. M

    Simon says game

    Hi, I have some GCSE students doing a simon says game but I have never done this and need some help. They are going to use a 18m2 and an LCD display. Does someone have a code already done for a Simon says game? Thanks, Mark
  10. M

    08m2 Dice game

    Thankyou so much, all working. Mark
  11. M

    08m2 Dice game

    I am using the code below on a 08M2. The circuit runs well for about 10 seconds then goes wrong and flashes the LED's on/off very quickly and that all it does? Can anyone help please? symbol z = w6 init: let dirs = %00010111 main: label0: Switch off 4 Switch off 2 Switch off 1...
  12. M

    Magnetic lock

    I am using an 18m2 with a keypad to open and close a magnetic lock. When I turn on B.4 which controls the Lock nothing else works properly on the circuit, if B.4 is not turned on everything works. How can I solve this problem? Thanks, Mark
  13. M

    Random command not working on 18m2

    Hi, I am using the Random command to generate a number then put the number onto a LCD. The trouble is it goes straght through the programme to 'showone' everytime. It does not seam to look at the random number. Any help as its for a students programme. Thanks Mark ' ****** Dice using random...
  14. M

    Random command not working

    Hi, The random command is not working, when I press C.1 to start the sequence it goes straight through each time to 'showone'. Any suggestions as I am a little new at basic programming. Thanks Mark
Top