-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from waterloo-rocketry/thermocouple
Thermocouple Board Firmware
- Loading branch information
Showing
62 changed files
with
1,679 additions
and
346,219 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @JasonBrave @DomenicHampson |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/build/ | ||
/dist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[submodule "canlib"] | ||
path = canlib | ||
url = https://github.com/waterloo-rocketry/canlib.git | ||
[submodule "rocketlib"] | ||
path = rocketlib | ||
url = https://github.com/waterloo-rocketry/rocketlib.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
#include <xc.h> | ||
|
||
void LED_init(){ | ||
//initializing pins | ||
void LED_init() { | ||
// initializing pins | ||
TRISB3 = 0; | ||
TRISB4 = 0; | ||
TRISB5 = 0; | ||
//returns if pin is on or off | ||
// returns if pin is on or off | ||
LATB3 = 1; | ||
LATB4 = 1; | ||
LATB5 = 1; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
#ifndef BOARD_H | ||
#define BOARD_H | ||
#define BOARD_H | ||
|
||
#define MAX_LOOP_TIME_DIFF_ms 250 | ||
#define MAX_BUS_DEAD_TIME_ms 1000 | ||
#define MAX_TC_TIME_DIFF_ms 200 | ||
#define MAX_HEARTBEAT_TIME_DIFF_ms 2000 | ||
#define MAX_BUS_DEAD_TIME_ms 2000 | ||
|
||
#define RED_LED_ON() (LATB3 = 0) | ||
#define RED_LED_OFF() (LATB3 = 1) | ||
#define ORANGE_LED_ON() (LATB4 = 0) | ||
#define RED_LED_ON() (LATB3 = 0) | ||
#define RED_LED_OFF() (LATB3 = 1) | ||
#define RED_LED_TOGGLE() (LATB3 ^= 1) | ||
#define ORANGE_LED_ON() (LATB4 = 0) | ||
#define ORANGE_LED_OFF() (LATB4 = 1) | ||
#define YELLOW_LED_ON() (LATB5 = 0) | ||
#define YELLOW_LED_OFF() (LATB5 = 1) | ||
|
||
#define ORANGE_LED_TOGGLE() (LATB4 ^= 1) | ||
#define YELLOW_LED_ON() (LATB5 = 0) | ||
#define YELLOW_LED_OFF() (LATB5 = 1) | ||
#define YELLOW_LED_TOGGLE() (LATB5 ^= 1) | ||
|
||
void LED_init(); | ||
|
||
#endif /* BOARD_H */ | ||
|
||
#endif /* BOARD_H */ |
4 changes: 0 additions & 4 deletions
4
build/default/production/canlib/dspic33epxxxgp50x/dspic33epxxxgp50x_can.d
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.