1
0
forked from me/IronOS

V1.11 - Adding a Boost mode

Allows users to enable a boost mode.
This allows you to hold down the button near the tip while soldering to
temporarily boost the soldering temperature.
Closes #10
This commit is contained in:
Ben V. Brown
2017-07-08 23:16:02 +10:00
7 changed files with 186 additions and 113 deletions

View File

@@ -11,7 +11,9 @@ void delayMs(uint32_t ticks);
volatile extern uint32_t lastKeyPress;
volatile extern uint32_t lastMovement;
volatile extern uint16_t keyState;
volatile extern uint8_t keyState;
volatile extern uint8_t rawKeys;
inline uint32_t millis() {
return system_Ticks;
}
@@ -34,6 +36,10 @@ inline uint32_t getLastMovement() {
inline uint16_t getButtons() {
return keyState;
}
inline uint16_t getRawButtons() {
return rawKeys;
}
/*IRQ prototypes*/
void NMI_Handler(void);