ASURO Library  2.80
myasuro.h
Go to the documentation of this file.
1 /****************************************************************************/
50 /***************************************************************************
51 * *
52 * This program is free software; you can redistribute it and/or modify *
53 * it under the terms of the GNU General Public License as published by *
54 * the Free Software Foundation; either version 2 of the License, or *
55 * any later version. *
56 ***************************************************************************/
57 
58 #ifndef MYASURO_H
59 #define MYASURO_H
60 
61 /* Tastaturabfrage */
67 #define MY_SWITCH_VALUE 62L
78 #define MY_SWITCH_THRESHHOLD 1010
80 /* Odometrie / Encoder */
81 /* Werte für 12 Segmente Encoder */
88 #define MY_GO_ENC_COUNT_VALUE 19363L
95 #define MY_TURN_ENC_COUNT_VALUE 177L
97 /* Werte zum ausgleichen unterschiedlicher Motoren */
98 
104 #define MY_MOTOR_DIFF 0
106 /* I2C Bus Definitionen */
107 
108 //#define MY_I2C_SDA PC3
109 //#define MY_I2C_SCL PC2
110 
111 /* Fuer das LCD Modul aus dem Asuro Buch gilt folgende Pinbelegung */
112 #define MY_I2C_SDA PC2
113 #define MY_I2C_SCL PC3
114 
115 /* LCD Definitionen */
116 
117 /*
118 #define MY_LCD_LD4 0 // Pin to Data Bus 4
119 #define MY_LCD_LD5 1 // Pin to Data Bus 5
120 #define MY_LCD_LD6 2 // Pin to Data Bus 6
121 #define MY_LCD_LD7 3 // Pin to Data Bus 7
122 
123 #define MY_LCD_LRS 4 // Pin to RS Pin (Register Select)
124 #define MY_LCD_LRW 5 // Pin to Read/Write Pin
125 #define MY_LCD_LEN 7 // Pin to Enable Pin
126 #define MY_LCD_LBL 6 // Backlight Pin
127 */
128 /* Fuer das LCD Modul aus dem Asuro Buch gilt folgende Pinbelegung */
129 
130 #define MY_LCD_LD4 4 // Pin to Data Bus 4
131 #define MY_LCD_LD5 5 // Pin to Data Bus 5
132 #define MY_LCD_LD6 6 // Pin to Data Bus 6
133 #define MY_LCD_LD7 7 // Pin to Data Bus 7
134 
135 #define MY_LCD_LRS 0 // Pin to RS Pin (Register Select)
136 #define MY_LCD_LRW 1 // Pin to Read/Write Pin
137 #define MY_LCD_LEN 2 // Pin to Enable Pin
138 #define MY_LCD_LBL 3 // Backlight Pin
139 
140 #endif /* MYASURO_H */