Blame | Last modification | View Log | RSS feed
#include "ProjectorLC4500.h"
#include "LC4500API/API.h"
ProjectorLC4500::ProjectorLC4500(unsigned int): nPatterns(0){
// Disable standby
LCR_SetPowerMode(false);
// Set source
LCR_SetInputSource(0, 0); //??
// Set standard axis flips
LCR_SetLongAxisImageFlip(false);
LCR_SetShortAxisImageFlip(true);
// Set LED currents
LCR_SetLedCurrents(70, 0, 0);
// Configure GPIO
//int LCR_SetGPIOConfig(unsigned int pinNum, bool enAltFunc, bool altFunc1, bool dirOutput, bool outTypeOpenDrain, bool pinState);
// Set pattern display mode to "not external"
int LCR_SetPatternDisplayMode(false);
}
void ProjectorLC4500::setPattern(unsigned int patternNumber, const unsigned char *tex, unsigned int texWidth, unsigned int texHeight){
}
void ProjectorLC4500::displayPattern(unsigned int){
}
void ProjectorLC4500::displayTexture(const unsigned char *tex, unsigned int texWidth, unsigned int texHeight){
}
void ProjectorLC4500::displayBlack(){
}
void ProjectorLC4500::displayWhite(){
}
void ProjectorLC4500::getScreenRes(unsigned int *nx, unsigned int *ny){
*nx = 912;
*ny = 1140;
}
ProjectorLC4500::~ProjectorLC4500(){
}