-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pico: Implement GET_TEMP telecommand to return temperatura data
This commit implements a telecommand for temperature retrieval. It uses the port number (11) and temperature data type (float) defined in MCS. temp.c is modified to use zephyr's sensor API (fetch and get) for temperature retrieval. The Fetch and Get API is selected because the Zephyr kernel of this satellite is version 3.7 and the newer Read and Decode API is still unstable. Signed-off-by: Riho Natsushima <nasshi7224@gmail.com>
- Loading branch information
Showing
5 changed files
with
61 additions
and
12 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -7,3 +7,5 @@ CONFIG_SERIAL=y | |
CONFIG_UART_INTERRUPT_DRIVEN=y | ||
CONFIG_POSIX_API=y | ||
CONFIG_LOG=y | ||
CONFIG_SENSOR=y | ||
CONFIG_LM75=y |
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
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
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
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