zoncoffee_pid_controller
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| zoncoffee_pid_controller [2014/11/04 18:27] – [Libraries] Ethan Zonca | zoncoffee_pid_controller [2023/03/23 02:48] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 30: | Line 30: | ||
| The firmware comes pre-configured for the HD44780 parallel LCD display. To use a SparkFun serial LCD, you will need to change a couple configuration options: | The firmware comes pre-configured for the HD44780 parallel LCD display. To use a SparkFun serial LCD, you will need to change a couple configuration options: | ||
| - | In the Arduino sketch, browse to options.h | + | In the Arduino sketch, browse to '' |
| 13 //#define LCDSF // Use SparkFun serial lcd | 13 //#define LCDSF // Use SparkFun serial lcd | ||
| Line 38: | Line 38: | ||
| Uncomment the LCDSF line and comment out the LCDHD line. Now your SparkFun LCD should work properly. | Uncomment the LCDSF line and comment out the LCDHD line. Now your SparkFun LCD should work properly. | ||
| + | **There seems to be a bug in the Arduino IDE when switching between LCDs. If you change the selected display in '' | ||
| + | |||
| + | Change this: | ||
| + | |||
| + | 15 // Setup LCD | ||
| + | 16 #ifdef LCDHD | ||
| + | 17 # | ||
| + | 18 | ||
| + | 19 #endif | ||
| + | 20 | ||
| + | 21 #ifdef LCDSF | ||
| + | 22 # | ||
| + | 23 SLCD sflcd = SLCD(LCDROWS, | ||
| + | 24 #endif | ||
| + | | ||
| + | To this: | ||
| + | |||
| + | 15 // Setup LCD | ||
| + | 16 #ifdef LCDSF | ||
| + | 17 # | ||
| + | 18 SLCD sflcd = SLCD(LCDROWS, | ||
| + | 19 #endif | ||
| + | 20 #ifdef LCDHD | ||
| + | 21 # | ||
| + | 22 | ||
| + | 23 #endif | ||
| + | 24 | ||
| + | | ||
| + | ...or the other way around. | ||
| + | |||
| + | | ||
| + | | ||
zoncoffee_pid_controller.1415125651.txt.gz · Last modified: (external edit)
