generated from Avi-73/Avi_73J_template
-
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.
- Loading branch information
Showing
16 changed files
with
154 additions
and
60 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 |
---|---|---|
|
@@ -9,3 +9,5 @@ src/* | |
!src/main.cpp | ||
!src/*/ | ||
!src/README.md | ||
|
||
src/RTD_PARAM.h |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Avi_71L_RTD_param |
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,19 @@ | ||
#pragma once | ||
|
||
#ifndef RTD_PARAM_H | ||
#define RTD_PARAM_H | ||
|
||
namespace rtdRFparam | ||
{ | ||
constexpr uint8_t DST_1 = 0xC2; | ||
constexpr uint8_t DST_2 = 0xA0; | ||
constexpr uint8_t DST_3 = 0x03; | ||
constexpr uint8_t DST_4 = 0xB1; | ||
|
||
constexpr uint8_t POWER = 3; | ||
constexpr uint8_t CHANNEL = 37; | ||
constexpr uint8_t RF_BAND = 10; | ||
constexpr uint8_t CS_MODE = 5; | ||
} | ||
|
||
#endif |
Submodule lib
updated
4 files
+409 −0 | NEC920 1.0.0/NEC920.cpp | |
+86 −0 | NEC920 1.0.0/NEC920.hpp | |
+1 −0 | NEC920 1.0.0/NEC920.md | |
+ − | NEC920 1.0.0/NEC920Flow.drawio.png |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#include "../src/usecase/stack.h" | ||
#include "gtest/gtest.h" | ||
|
||
TEST(Ground_Send_Stack_Test, Test1) { | ||
char command_data[] = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'}; | ||
Ground_Send_Stack(command_data); | ||
// TODO: Add your assertions here | ||
} | ||
|
||
TEST(Ground_Send_Stack_Test, Test2) { | ||
char command_data[] = {'1', '2', '3', '4', '5', '6', '7', '8', '9', '0'}; | ||
Ground_Send_Stack(command_data); | ||
// TODO: Add your assertions here | ||
} | ||
|
||
TEST(Ground_Send_Stack_Test, Test3) { | ||
char command_data[] = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'}; | ||
for (int i = 0; i < 100; i++) { | ||
Ground_Send_Stack(command_data); | ||
} | ||
// TODO: Add your assertions here | ||
} | ||
|
||
TEST(Ground_Send_Stack_Test, Test4) { | ||
char command_data[] = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'}; | ||
for (int i = 0; i < 1000; i++) { | ||
Ground_Send_Stack(command_data); | ||
} | ||
// TODO: Add your assertions here | ||
} |
Oops, something went wrong.