try as I might I cannot get the mini2440 to turn the backlight on or off using vb found a few procedures but none of them do a thing Help its driving me mad!
turn backlight on and off programatically
backlight is part of COREDLL.dll, you should be able to Pinvoke it or just use domodom's GPIO driver to turn GPG4 on/off void BL_On(BOOL bOn) { if(bOn) { if (g_BLInfo.m_dwStatus != BL_ON) { g_BLInfo.m_dwStatus = BL_ON; if (v_pIOPRegs) { //RETAILMSG(1, (TEXT("BL_ON\r\n"))); v_pIOPRegs->rGPGDAT |= (1 << 4); } } } else { if (g_BLInfo.m_dwStatus != BL_OFF) { g_BLInfo.m_dwStatus = BL_OFF; if (v_pIOPRegs) { //RETAILMSG(1, (TEXT("BL_OFF\r\n"))); v_pIOPRegs->rGPGDAT &= ~(1 << 4); } } } }
ahhh ha many thanks thats great im fairly certain but im guessing it cant be dimmed on the brightness?