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:25] – [Software Setup] Ethan Zonca | zoncoffee_pid_controller [2023/03/23 02:48] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 14: | Line 14: | ||
| ===== Software Setup ===== | ===== Software Setup ===== | ||
| - | [[http:// | + | To get started, |
| - | Your ZonCoffee board comes pre-loaded with the latest firmware. However, you can flash your own custom firmware | + | Your ZonCoffee board comes pre-loaded with the latest firmware. However, you can flash your own custom firmware |
| + | |||
| + | ==== Arduino | ||
| Download the latest [[http:// | Download the latest [[http:// | ||
| + | |||
| + | Note: In that zip file, all libraries in the " | ||
| + | |||
| + | |||
| ==== LCD support ==== | ==== LCD support ==== | ||
| Line 24: | 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 32: | 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. | ||
| - | ==== Libraries ==== | + | **There seems to be a bug in the Arduino IDE when switching between LCDs. If you change the selected display in '' |
| - | Note: In that zip file, all libraries in the " | + | |
| + | 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. | ||
| - | Thanks, | + | |
| - | Ethan Zonca | + | |
zoncoffee_pid_controller.1415125551.txt.gz · Last modified: (external edit)
