elevator programing code

Go To Last Post
19 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

dear sir/madam 

 

i need elevator programming coding 8th floor  

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Welcome to AVRFreaks!

 

Program:

Enter the building through the lobby,

Walk to the elevator bank and choose an elevator that will take you to the desired floor

Press the UP button and wait for the car to arrive

Enter the car and press the desired floor button

Enjoy the ride.

 

 

Jim

Click Link: Get Free Stock: Retire early! PM for strategy

share.robinhood.com/jamesc3274

 

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Related image

 

JC

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

So, school project?

 

What hardware?

 

What language?

 

What have you done so far?

 

Do you have a specific question you want answered?

 

JC

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

$500 payable by Western Union please. Delivery will be within 14 days from final agreed specification.

#1 This forum helps those that help themselves

#2 All grounds are not created equal

#3 How have you proved that your chip is running at xxMHz?

#4 "If you think you need floating point to solve the problem then you don't understand the problem. If you really do need floating point then you have a problem you do not understand." - Heater's ex-boss

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

journeyelevator wrote:

dear sir/madam 

 

i need elevator programming coding 8th floor  

 

With the exception of DocJC, are you seriously believing that you are going to get anything but sarcasm from that?

 

Google what you asked for and you will find something of merit.  Google this site with what you ask and you will find numerous examples as well.

 

All the best on your final exam.

 

Jim

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

"If you want a career with a known path - become an undertaker. Dead people don't sue!" - Kartman

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB user

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Here is your elevator solution:

 

https://www.youtube.com/watch?v=NeXMxuNNlE8

 

Take it for a ride & enjoy!

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

What the OP didn't tell us is that he actually lives on the 12th floor of his 12 storey building. So you could say his elevator doesn't go to the top floor.

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

dear please help me elevator programming coding write 8th floor 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

What help do you want?

 

We have no idea what it is that you want to program!

 

If you are having problems with English language, write your question in your own language and try a translator to convert to English.

 

Jim

Jim Wagner Oregon Research Electronics, Consulting Div. Tangent, OR, USA http://www.orelectronics.net

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

What about the other floors?

Tom Pappano
Tulsa, Oklahoma

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

$500 payable by Western Union please.

I always get similar demand in Bitcoins .

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Dear please help me elevator programming coding write 8th floor 

 

 

You must stay away from there!! Why press your luck?

https://www.nbcwashington.com/the-scene/real-estate/Omni-Shoreham-Haunted-DC.html

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

journeyelevator wrote:

dear please help me elevator programming coding write 8th floor 

You are having trouble with how to program a piece of code that writes 8th floor, right?

This here ought to do it:

 

printf("8th floor");

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I'd forget the 8th, Fire Department trucks can't reach above the 7th floor, anyway.

Tom Pappano
Tulsa, Oklahoma

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

journeyelevator wrote:

dear please help me elevator programming coding write 8th floor 

 

 

If you want sensible answers then you need to provide us with more information and answer some of the questions asked. Start by answering the questions posted by DocJC back in post #4.

#1 This forum helps those that help themselves

#2 All grounds are not created equal

#3 How have you proved that your chip is running at xxMHz?

#4 "If you think you need floating point to solve the problem then you don't understand the problem. If you really do need floating point then you have a problem you do not understand." - Heater's ex-boss

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I am unable to write the program of lift in the head. I want to create a lift programmer in the head which has input type.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Show us what you have tried so far. We'll give some ideas how to fix/improve it.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

journeyelevator wrote:
I am unable to write the program of lift in the head. I want to create a lift programmer in the head which has input type.

 

You are making one of the classic rookie mistake and trying to 'implement' your project, ie write code for it, before you have 'designed' your project, ie written down using nothing but words how it should work.

 

Take a piece of paper and write down how it should work. For example, answer the following questions...

 

Q1A) How many buttons should be on each floor?

Q1B) What should they be labelled?

Q1C) What should happen when you press one?

 

Q2A) How many lifts should be installed?

Q2B) What should be the average wait time for a lift?

Q2C) What is the typical usage pattern of each lift throughout the days of the week?

 

Q3A) How many buttons should be in each lift?

Q3B) What should they be labelled?

Q3C) What should happen when you press one?

 

Now draw a flow chart. Test that flow chart but thinking of all possible events...

 

Q) What happens if someone presses more than one button at a time?

Q) What happens if two people press a button at the same time?

Q) Should a lift always stop at a floor if someone has pressed a button on that floor?

 

...etc etc.

 

Now, and only now, can you start to think how your code might look.

#1 This forum helps those that help themselves

#2 All grounds are not created equal

#3 How have you proved that your chip is running at xxMHz?

#4 "If you think you need floating point to solve the problem then you don't understand the problem. If you really do need floating point then you have a problem you do not understand." - Heater's ex-boss