Hi,
I'm working in the development of a parking lot project. Actually I've got it running great, working with only one car entry. The rutine when a car arrives is the following
- Detect the car with metal detector.
- Once a car is detected, a ticket is printed with a secuential number
- once the person retrives the ticket, the barrier is lifted
- once the car passes the barrier, the barrier goes down.
- End
I use a 18x chip for this project.
The problem is that now I need to have a second car entry, and I can't have two isolated picaxes, doing the job because a need work with only one secuential number, so this means that if entry one prints ticket number 2, then the seconde entry should print ticket number 3.
As I have loops that wait forever, for a sensor to be activated, Im a not able to respond to other actions while Im in that loop.
Ive read about setint, but i dont see that it could work for me.
The best thing could be to use two picaxe sharing the same memory chip, but I also read that this is not posible.
Any suggestions ?
Thanks in advance,
Best regards,
Kakolon
I'm working in the development of a parking lot project. Actually I've got it running great, working with only one car entry. The rutine when a car arrives is the following
- Detect the car with metal detector.
- Once a car is detected, a ticket is printed with a secuential number
- once the person retrives the ticket, the barrier is lifted
- once the car passes the barrier, the barrier goes down.
- End
I use a 18x chip for this project.
The problem is that now I need to have a second car entry, and I can't have two isolated picaxes, doing the job because a need work with only one secuential number, so this means that if entry one prints ticket number 2, then the seconde entry should print ticket number 3.
As I have loops that wait forever, for a sensor to be activated, Im a not able to respond to other actions while Im in that loop.
Ive read about setint, but i dont see that it could work for me.
The best thing could be to use two picaxe sharing the same memory chip, but I also read that this is not posible.
Any suggestions ?
Thanks in advance,
Best regards,
Kakolon