This shows you the differences between two versions of the page.
pm:prj2023:avaduva:selective_automatic_door [2023/05/28 15:01] srodriguez [Hardware Design] |
pm:prj2023:avaduva:selective_automatic_door [2023/05/30 17:30] (current) srodriguez [Download] |
||
---|---|---|---|
Line 113: | Line 113: | ||
**buttonInterrupt():** | **buttonInterrupt():** | ||
- | This interruption is meant to work when the "emergency button is pressed". This emergency button can be configured in different ways. For example, in one version of the code it locks the door into the current state that it's in (ProjectGOOD2) but in the other version it blocks the door closing it and leaving it closed until the button is pressed again. Here's a wuick rundown of how it works: | + | This interruption is meant to work when the "emergency button is pressed". This emergency button can be configured in different ways. For example, in one version of the code it locks the door into the current state that it's in (Automatic_Door_1) but in the other version it blocks the door closing it and leaving it closed until the button is pressed again. Here's a wuick rundown of how it works: |
* When the interruption is triggered, the state of the button is saved | * When the interruption is triggered, the state of the button is saved | ||
Line 175: | Line 175: | ||
\\ | \\ | ||
- | [[http://php.net|{{pm:prj2023:avaduva:video1automaticdoor.gif?300}}]] [[http://php.net|{{pm:prj2023:avaduva:pm:prj2023:avaduva:video3puerta.gif?300}}]] | + | [[http://php.net|{{pm:prj2023:avaduva:video1automaticdoor.gif?300}}]]((Functioning of the door)) [[http://php.net|{{pm:prj2023:avaduva:video3puerta.gif?300}}]] ((Demonstration of the emergency button)) |
Line 192: | Line 192: | ||
**Code:** | **Code:** | ||
- | *[[pm:prj2023:avaduva:automatic_door_1.txt|Version 1 (Automatic_Door_1)]] | + | *[[https://ocw.cs.pub.ro/courses/_media/pm/prj2023/automatic_door_1.txt|Version 1 (Automatic_Door_1)]] |
- | *[[pm:prj2023:avaduva:automatic_door_2.txt|Version 2 (Automatic_Door_2)]] | + | *[[https://ocw.cs.pub.ro/courses/_media/pm/prj2023/avaduva/automatic_door_2.txt|Version 2 (Automatic_Door_2)]] |