char SIM_FifteenSegmentValue[5]; // Variable to store the value of Fifteen Segment
// This will bind to Virtual Device Fifteen Segment control variable
char UpdatedFifteenSegment(char UserValue) // Function to Update Fifteen Segment as per User value
{
SIM_FifteenSegmentValue[0] = UserValue + 48;
return SIM_FifteenSegmentValue[0];
}
void InitVirtuoso()
{
#ifdef _WINDOWS
InitializeVirtuoso();
#endif //_WINDOWS
}
void main()
{
InitVirtuoso();
UpdatedFifteenSegment(9); //Display '9' on fifteen segment display
while (1)
{
}
}