Followup on Adafruit RGB LCD Shield August 09, 2012 01:53PM |
Registered: 17 years ago Posts: 824 |
Re: Followup on Adafruit RGB LCD Shield August 10, 2012 07:36AM |
Registered: 12 years ago Posts: 2,705 |
// For MCP 23017 define which pins should be output #define UI_DISPLAY_I2C_OUTPUT_PINS 65504 // Set the output mask that is or'd over the output data. This is needed to activate // a backlight switched over the I2C. // The adafruit RGB shields enables a light if the bit is not set. Bits 6-8 are used for backlight. #define UI_DISPLAY_I2C_OUTPUT_START_MASK 0in uiconfig.h
Re: Followup on Adafruit RGB LCD Shield August 10, 2012 06:03PM |
Registered: 17 years ago Posts: 824 |
Re: Followup on Adafruit RGB LCD Shield August 10, 2012 06:07PM |
Registered: 17 years ago Posts: 824 |
Re: Followup on Adafruit RGB LCD Shield August 11, 2012 03:11AM |
Registered: 12 years ago Posts: 2,705 |
Re: Followup on Adafruit RGB LCD Shield August 16, 2012 03:33PM |
Registered: 12 years ago Posts: 156 |
#if BEEPER_TYPE==1 //WRITE(BEEPER_PIN,HIGH); for (long i=0; i < 80; i++){ // for the calculated length of time... digitalWrite(BEEPER_PIN,HIGH); // write the buzzer pin high to push out the diaphram delayMicroseconds(100); // wait for the calculated delay value digitalWrite(BEEPER_PIN,LOW); // write the buzzer pin low to pull back the diaphram delayMicroseconds(80); // wait again for the calculated delay value }
Re: Followup on Adafruit RGB LCD Shield August 16, 2012 04:18PM |
Registered: 12 years ago Posts: 2,705 |