Skip to content
Snippets Groups Projects
Commit 9db6ac9c authored by Davide Mor's avatar Davide Mor
Browse files

[RIGv2] Added relays to RIG v2

parent 4a0d3a62
Branches
No related tags found
No related merge requests found
...@@ -152,7 +152,7 @@ using relay1 = Gpio<GPIOG_BASE, 3>; ...@@ -152,7 +152,7 @@ using relay1 = Gpio<GPIOG_BASE, 3>;
using relay2 = Gpio<GPIOG_BASE, 6>; using relay2 = Gpio<GPIOG_BASE, 6>;
using relay3 = Gpio<GPIOG_BASE, 7>; using relay3 = Gpio<GPIOG_BASE, 7>;
using relay4 = Gpio<GPIOA_BASE, 15>; using relay4 = Gpio<GPIOA_BASE, 15>;
} } // namespace relays
} // namespace interfaces } // namespace interfaces
...@@ -280,4 +280,11 @@ using servoCur = miosix::interfaces::adcs::adc12in9; ...@@ -280,4 +280,11 @@ using servoCur = miosix::interfaces::adcs::adc12in9;
using batteryVolt = miosix::interfaces::adcs::adc12in14; using batteryVolt = miosix::interfaces::adcs::adc12in14;
} // namespace adcs } // namespace adcs
namespace relays
{
using ignition = miosix::interfaces::relays::relay1;
using nitrogen = miosix::interfaces::relays::relay2;
using armLight = miosix::interfaces::relays::relay3;
} // namespace relays
} // namespace miosix } // namespace miosix
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment