Recent content by mjy58

  1. M

    eeprom command within case structure

    Just modified some code to save data into eeprom so it can be used between power downs and go this compiler error: eeprom 112,(4) ^ Error: EEPROM cannot be used within If blocks This looks fairly fatal for this construct. Couldn't find it documented anywhere, is there any...
  2. M

    Timing long periods whilst polling with serin

    I have an RFID tag reader (based on marks code snippet) which is reading serial data from an RDM6300. The reader is being used to detect presence of one of two cats and dispense food depending on which one it is. To calculate the food requirements, I need to track the total time over a 24 hour...
  3. M

    'Table' commands - which chips?

    I was originally going to reply to this thread, but think a new thread is more suitable. Can someone explain exactly which chips the 'table' commands work with? Programming Editor (5.5.0) 'Quick Syntax checker' states: Command Chips applies to table 20X2, 28X2,40X2, 28x1, 40X1 tablecopy 14M2...
  4. M

    Driving JY-LKM1638 from 08M2

    Ok, thanks Nick. I obviously had finger trouble before:o Code tags now give me a friendly message stating I am trying to upload 17,000 odd characters, please reduce to under 10,000. Here is the .bas file
  5. M

    Driving JY-LKM1638 from 08M2

    @Russ I am not sure what I should have done here. I thought a pdf was the 'best' way of uploading the code, however having tried to get it back into PE, perhaps it is not. (how do you select the whole of a pdf document:confused:) Anyway, as a slight improvement I have printed it again with...
  6. M

    DealExtreme 7 Segment (plus) Display

    Display Brightness I have to agree, the documentation available leaves a bit to be desired :rolleyes: The display brightness value has to be between $88 (min) and $8f (max). This is a copy of the code used in the final project Here you will see the range of values for brightness and that...
  7. M

    Driving JY-LKM1638 from 08M2

    Final construction This is a picture of the project in its final box
  8. M

    Driving JY-LKM1638 from 08M2

    Knobs for the pushbuttons I ended up using these 'knobs' for my push buttons (SW050) On the bottom of the knob I do a few turns with a 4mm drill to 'round' off the square so it sits on top of the push button slightly better. To stop the knob coming out the top of the panel I have used a...
  9. M

    Driving JY-LKM1638 from 08M2

    Photos Breadboard and JY-LKM1638 module showing maximum recorded temperature on the right. (The strange looking 'slug' to the right of the breadboard is the DS18B20 'sleeved' together with a strip bulb to test the temperature control) More photos...
  10. M

    Driving JY-LKM1638 from 08M2

    PICAXE driver for JY-LKM1638 multi display module Originally inspired by this thread http://www.picaxeforum.co.uk/showthread.php?18788-Worth-a-punt I thought the following may be useful for others. Although not finished regarding the hardware, I thought the code may be useful for others who...
  11. M

    08m2 i/o

    I think I know the answer to the following question, but feel obliged to ask on here to ensure I have investigated all options. From the Microchip datasheet for the 08M2 http://ww1.microchip.com/downloads/en/DeviceDoc/41441B.pdf I concluded I could use c.5 as an output pin (c.3 is the input...
  12. M

    08M2 Reset

    I am running a program in an 08M2 on the AXE091 development board. If I leave the computer connected via the download cable with the PICAXE program running, shut down the PC and then power it up, the 08M2 is reset. As the 08M2 does not have a reset pin, I do not understand how this is...
  13. M

    Manual updates

    Being relatively new to PICAXE I have posted several questions for clarification about commands from Manual 2 V7.8. Today I wanted to clarify what to do with the address in a READ or WRITE with a word variable. There is no example of using the word variable in the manual. The top 5 entries in...
  14. M

    DealExtreme 7 Segment (plus) Display

    Working DealExtreme 7 segment module Thought the following may be useful for others. Using the translated datasheet found by Westaust55, I have managed to get the module to do something useful;). The attached program, allows control of all the 7 segment displays and LEDs. It also reads all...
  15. M

    pin / outpin clarification

    Having struggled with the concepts of pin and outpin, I hope someone can assist. The following code simulates and runs correctly on chip #picaxe 18m2 #no_data dirsb = %11111111 ;Set port b as output dirsc = %00000000 ;Set port c as input symbol dataout = b0 ;w0 and bit 0 to bit 7 symbol pad =...
Top