Jetson Nano Mouseのデバイスドライバです。
Jetson-IOを実行してspi1
を有効にします。詳細はwikiを参照してください。
このリポジトリをgit clone
でダウンロードし、
git clone https://github.com/rt-net/JetsonNanoMouse.git
cd JetsonNanoMouse
ダウンロードしたディレクトリ内で以下のコマンドを実行します。
make
sudo make install
/dev/rtlightsensor0
や/dev/rtled0
などのデバイスファイルが作成されていることを確認します。
(C) 2019-2020 RT Corporation <[email protected]>
このリポジトリはGPLv2ライセンス(GPL-2.0-only)で公開されています。詳細はLICENSEを確認してください。
This project includes rt-net/RaspberryPiMouse, licensed under the GPLv2 license.
/*
*
* rtmouse.c
* Raspberry Pi Mouse device driver
*
* Version: 3.0.0
*
* Copyright (C) 2015-2020 RT Corporation <[email protected]>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301, USA.
*/
This project includes the code to control PCA9685(adafruit/Adafruit_Python_PCA9685) licensed under the MIT License.
# Copyright (c) 2016 Adafruit Industries
# Author: Tony DiCola
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.