Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[arduino][seeed] 添加paj7620驱动库 #1499

Merged
merged 1 commit into from
Oct 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions arduino/sensors/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -107,5 +107,6 @@ source "$PKGS_DIR/packages/arduino/sensors/Seeed-BME280/Kconfig"
source "$PKGS_DIR/packages/arduino/sensors/Seeed-BMP280/Kconfig"
source "$PKGS_DIR/packages/arduino/sensors/Seeed-H3LIS331DL/Kconfig"
source "$PKGS_DIR/packages/arduino/sensors/Seeed-MMA7660/Kconfig"
source "$PKGS_DIR/packages/arduino/sensors/Seeed-PAJ7620/Kconfig"

endmenu
30 changes: 30 additions & 0 deletions arduino/sensors/Seeed-PAJ7620/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@

# Kconfig file for package Seeed-PAJ7620
menuconfig PKG_USING_ARDUINO_SEEED_PAJ7620
bool "Seeed PAJ7620: gesture recognition function sensor"
select PKG_USING_RTDUINO
select RTDUINO_USING_WIRE
default n

if PKG_USING_ARDUINO_SEEED_PAJ7620

config PKG_ARDUINO_SEEED_PAJ7620_PATH
string
default "/packages/arduino/sensors/Seeed-PAJ7620"

choice
prompt "Version"
default PKG_USING_ARDUINO_SEEED_PAJ7620_LATEST_VERSION
help
Select the package version

config PKG_USING_ARDUINO_SEEED_PAJ7620_LATEST_VERSION
bool "latest"
endchoice

config PKG_ARDUINO_SEEED_PAJ7620_VER
string
default "latest" if PKG_USING_ARDUINO_SEEED_PAJ7620_LATEST_VERSION

endif

33 changes: 33 additions & 0 deletions arduino/sensors/Seeed-PAJ7620/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "Seeed-PAJ7620",
"description": "Seeed PAJ7620 gesture recognition function sensor",
"description_zh": "Seeed PAJ7620 手势识别传感器驱动",
"enable": "PKG_USING_ARDUINO_SEEED_PAJ7620",
"keywords": [
"Seeed-PAJ7620",
"Sensors",
"Seeed",
"Arduino",
"PAJ7620",
"gesture"
],
"category": "arduino/sensors",
"author": {
"name": "Seeed-Studio",
"email": "techsupport@seeed.cc",
"github": "Seeed-Studio"
},
"license": "MIT",
"repository": "https://github.com/Seeed-Studio/Gesture_PAJ7620",
"icon": "unknown",
"homepage": "https://github.com/Seeed-Studio/Gesture_PAJ7620#readme",
"doc": "unknown",
"site": [
{
"version": "latest",
"URL": "https://github.com/Seeed-Studio/Gesture_PAJ7620.git",
"filename": "",
"VER_SHA": "master"
}
]
}