Upgraded RF24 to latest version which supports SoftSPI. Added DigitalIO and UTFT libraries to support the new example. Fix problem reported in RelayWithButtonActuator example.
11 lines
177 B
C
11 lines
177 B
C
case CPLD:
|
|
if (orient==LANDSCAPE)
|
|
orient = PORTRAIT;
|
|
else
|
|
orient = LANDSCAPE;
|
|
|
|
LCD_Write_COM(0x0F);
|
|
LCD_Write_COM_DATA(0x01,0x0010);
|
|
LCD_Write_COM(0x0F);
|
|
break;
|