switched to my branch. Working elevator driver module
More work on driver module. First tries with implementing on/off hardware check
Update main.go

Ok. So the main running of an elevator. Few things remain; 1. Handeling of the external orders, this incorporates the cost function and the changing of the values for the ext.buttons to make sorting easier, 2. Add another For-loop the handle the afterOrders, 3. Debug to run the thing. But I think I'll get most done today/tonight
Update main.go
Update driverInterface.go

changed the EXT_BTN_X_(UP||DOWN) values to suit handling of ex. orders
Update main.go

*Added func cost(...)
*Described communication (very loosely)
*Fixed some obvious indexing errors
*Modified runOffList(...) to be more correct and to get orders from channels instead of shared array.
*Added func contains(...)
and some other stuff...

I realize this is not only not running but extremely messy. But everything on the Running should now be in here. There are some choices to be made to where to put the functions, as well as how many we want defined rather than an local function etc. etc. but if i'm not mistaken this is for the big piecing together rather than something we get perfect from the getgo.

Things took longer than expected today (shared array vs. channel f.exa.) so I didn't have the time to test in the lab. But as I said, the most important pieces should be there.
Create driverRunning.go
Update main.go

cleanup
Update and rename driverRunning.go to driverRunning.txt
Update main.go

fixed compile erros
Update main.go

Geting tings working propa.
Update main.go
Create old_main.go
something rotten
something rotten
Update main.go

something rotten here. dunno what. but i think i've stared too long at this... Probably something really simple
Create main_of_the_future.txt

There is some stuff that needs doin' but I can't bring my head into it before a nap and some breakfast. Something is fucked with the orders, they won't clear. Think i know where it is though...
Rename main.go to main1.txt
Rename old_main.go to main2.txt
Delete main_of_the_future.txt