Microchip | The Embedded Control Solutions Company Register Login
Browse All
Burnon International ltd.
 6 Code Snippets

The control of pets chamber with PIC32 PCAP LCC DEMO

Burnon International ltd.

we raise staff every day, our baby life status can be seen through the screen and indoor temperature, you don't have to run to the room to check, greatly reduce the manpower.

About this Code Example

int main(void) {
    GOL_MSG msg; // GOL message structure to interact with GOL

    InitializeBoard();

    ImageDecoderInit();
    JPEGInit(); // Initialize JPEG

    demoScheme = GOLCreateScheme();
    AlphaScheme = GOLCreateScheme(); 

    demoScheme->TextColor0 = BRIGHTBLUE;
    demoScheme->TextColor1 = BRIGHTRED;
    demoScheme->pFont = (void*) &Gentium_16;

    AlphaScheme->Color0 = RGBConvert(0x4C, 0x8E, 0xFF);
    AlphaScheme->Color1 = RGBConvert(255, 102, 0);
    AlphaScheme->EmbossDkColor = RGBConvert(0x1E, 0x00, 0xE5);
    AlphaScheme->EmbossLtColor = RGBConvert(0xA9, 0xDB, 0xEF);
    AlphaScheme->ColorDisabled = RGBConvert(0xD4, 0xE1, 0xF7);
    AlphaScheme->TextColor1 = BRIGHTBLUE;
    AlphaScheme->TextColor0 = RGBConvert(255, 102, 0);
    AlphaScheme->TextColorDisabled = RGBConvert(0xB8, 0xB9, 0xBC);
    AlphaScheme->AlphaValue = 50;

// login();

    while (1)
    {
        if (GOLDraw())
        {
            TouchGetMsg(&msg); // Get message from touch screen
            GOLMsg(&msg); // Process message
        }
    }

}

Categories

Release History

  • Oct 31, 2013

    Version: 1.0.0

    2013-10-31

Download Contact the Developer

*Required Fields


  • Current Version:1.0.0
  • Created:Oct 31, 2013
  • Updated:Feb 26, 2015
  • Downloads:4014
  • MPLAB Version:MPLAB X IDE V1.80
  • C Compiler:XC32 V1.21
  • Development Tools:PICKit3,PIC32 PCAP (DM320015)
  • Supported Devices:PIC32MX795F512L

Corporate News

Resources

Stay Connected

Stay up to date with the latest news from Microchip Technology.