Files
Scanning the repository...
Last update 8 years 5 months
by Sergey Sharybin
io_mapping.h/* * ***** BEGIN GPL LICENSE BLOCK ***** * * 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 3 * 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, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * The Original Code is Copyright (C) 2014 Sergey Sharybin <sergey.vfx@gmail.com> * All rights reserved. * * Contributor(s): none yet. * * ***** END GPL LICENSE BLOCK ***** */ #ifndef __IO_MAPPING_H__ #define __IO_MAPPING_H__ #define ENCODER_PORT_A PORTCbits.RC2 #define ENCODER_PORT_B PORTCbits.RC7 #define ENCODER_BUT PORTCbits.RC6 #define CURRENT_GAIN 2.0f #endif /* __IO_MAPPING_H__ */