Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed X_NUCLEO_PLC01A1 ros_lib_melodic
foot_lamp_module.cpp@1:ef4b86795d79, 2020-08-15 (annotated)
- Committer:
- yamadola
- Date:
- Sat Aug 15 09:09:33 2020 +0000
- Revision:
- 1:ef4b86795d79
whole program without debugs
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
yamadola | 1:ef4b86795d79 | 1 | #include "foot_lamp_module.h" |
yamadola | 1:ef4b86795d79 | 2 | |
yamadola | 1:ef4b86795d79 | 3 | FootLampModule::FootLampModule(uint8_t LampPin, PLCController *pPlcAccessor):LampModule(LampPin, pPlcAccessor){} |
yamadola | 1:ef4b86795d79 | 4 | |
yamadola | 1:ef4b86795d79 | 5 | void FootLampModule::On(){ |
yamadola | 1:ef4b86795d79 | 6 | _Lamp.On(); |
yamadola | 1:ef4b86795d79 | 7 | } |
yamadola | 1:ef4b86795d79 | 8 | |
yamadola | 1:ef4b86795d79 | 9 | void FootLampModule::Off(){ |
yamadola | 1:ef4b86795d79 | 10 | _Lamp.Off(); |
yamadola | 1:ef4b86795d79 | 11 | } |