Add wings42 rev2 (#13702)

* add rev2

* add encoder settings

* add license header
This commit is contained in:
yfuku 2021-12-27 12:05:31 +09:00 committed by GitHub
parent 74198c203c
commit f2ca6d5a75
3 changed files with 240 additions and 0 deletions

View file

@ -0,0 +1,20 @@
/* Copyright 2021 yfuku
*
* 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, either version 2 of the License, or
* (at your option) any later version.
*
* 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, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#define ENCODERS_PAD_A { B5, B6 }
#define ENCODERS_PAD_B { B4, B2 }
#define ENCODER_RESOLUTION 4