Recent content by oracacle

  1. O

    Amazing Vintage Car Accessory

    Seems a little over priced. Haven't seen the vidios yet as I'm at work, but a fuel injector conversion kit isn't that expensive. Depending where you look and what you need as little as £180. Honestly since getting a bike that is full l fuel injected and not dealing with carbs I have realised...
  2. O

    Trying to learn but...

    This is something I think that is slightly harmful to learning to code with picaxe. Most other languages you have to declare the you variables otherwise it assumes there is none.
  3. O

    How would I add this to my code?

    That was intended to go with the code I posted in post #6 as a result the flags and symbols used are different. also take a look through this and see if you can implement it within my previous code symbol min_out = 50 / 10 symbol max_out = 1050 / 10 symbol max_in = 10000 / 10 symbol...
  4. O

    How would I add this to my code?

    OK, had 20 mins to ahve a look at this. put this in the main loop if day_flag = false and ldr_reading > 100 then reset end if if day_flag = true and ldr_reading < 100 then reset this will force the entire system to reset when the change occours as for the map...
  5. O

    How would I add this to my code?

    you can put the LED cod eflash within an if statement if pump_flag = true then ;do led flash stuff here end if this means the LED will only operate whenever the pump is running. The change in LED flash rate is very subtle over the given time period and may not be noticable until you get...
  6. O

    How would I add this to my code?

    OK, this shoukld do what you need to. Had to work around some of the restriction of the M2 chips. I had to use one pause with a variable length this post has more info about mapping if you want to take it a bit further...
  7. O

    How would I add this to my code?

    I will have a closer look tonight, just finishing today's overtime
  8. O

    How would I add this to my code?

    You need to x change the curly bracket on the code call to a square bracket. There problem you have with the current version of your choice is the wait commands, while they are being executed the micro controller can not do anything else. So "wait 60" means nothing happens until 60 servings had...
  9. O

    Syntax error, what am I doing wrong?

    OK here is my take to incorporate into your code: symbol filler_time = b0 'define what filler_timer referes to init: #terminal 9600 'open terminal window pause 500 'allow terminal to open and connect filler_time = 0 'initialise to 0 main: if...
  10. O

    Determine resistor value

    That's the idea of my code, this is how I would do it. And was designed with the idea of being able to separate it into gosubs if desired. My most recent practice of avoiding pause unless absolutely needed is what drive using time variable. The initial thought was just to use it directly but...
  11. O

    Determine resistor value

    Ok this is my first run through after a fairly long day at work ; *** New Pin assignment ; *** Old pin assignment ; c.0 flashing red led hardware flash ; c.0 flashing red led hardware flash ; c.1 bulk tank sensor white leads input ; c.1 bulk tank...
  12. O

    Determine resistor value

    Ok, I will have another look at some point in the next day or so. But there really is no reason to have multiple starts. I will work with the code already posted. With a few little tricks removing the praises it's perfectly possible as well making the entire thing a lot more efficient and flexible.
  13. O

    Determine resistor value

    I would just modify your current one. Cut the track and solder in jumper wires. One of the normal steps that is gone through is called bread boarding where a prototype of the circuit is made up on a non permanent board and tested before committing to PCB. In start 3 you have what appears to be...
  14. O

    Determine resistor value

    OK had a bit of closer look at the code, I would have done all of that in a single thread. There is a lot of waiting within each of the tasks. I am going to need to know a bit more about what each code section does. There are a few things that seem a little off to me. Is there a reason what you...
  15. O

    Determine resistor value

    There are two things that I noticed at first. There seem to be a lot of pauses. Pin c.1/c.2 is recieving a digital input. You can put either off those on c.3. each of those can be used as an output which would free up an add input on b.x for reading the switch position. This worked meana...
Top