BRT Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the Bridgetek Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ Bridgetek Support

Please refer to our website for detailed information on all our products - Bridgetek - Bridging Technology

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - bobgardner

Pages: [1]
1
Discussion - EVE / Draw a couple lines on a button?
« on: May 16, 2019, 06:38:26 PM »
Hello EVE programmers. I have a matrix orbital 29a tft and the arduino shield. I can draw a big button 208x86 in the middle of the screen which is 320x102. Now I'd like to add a couple of 1 pixel wide horz lines at the top of the button like from 58,10 to 250,10 and 2 lines below that. Here's what Ive got
//------------------------------------------
void MakeScreen_Kln(void)
{
  Send_CMD(CMD_DLSTART);
  Send_CMD(CLEAR_COLOR_RGB(0,0,0));   
  Send_CMD(CLEAR(1,1,1));
 
  Send_CMD(COLOR_RGB(60,60,60));       //color gray                     
  Cmd_FGcolor(0xffffff);               //white 

  Send_CMD(CMD_SETROTATE);    //works
  Send_CMD(1);                //inverted landscape

  //---------x   y  w    h   fnt opt   
  Cmd_Button(56, 8, 208, 86, 28, 0xff, "208x86"); //gets here! 

  //  Send_CMD(LINE_WIDTH(1));             //these 7 lines dont work
  Cmd_FGcolor(0x000000);     //black 
  Send_CMD(BEGIN(LINES));
  Send_CMD(VERTEX2F(58,10)); //thin horz line
  Send_CMD(VERTEX2F(250,10));
  Send_CMD(VERTEX2F(58,12)); //thin horz line
  Send_CMD(VERTEX2F(250,12));

  Send_CMD(DISPLAY());
  Send_CMD(CMD_SWAP); 
  UpdateFIFO();                                            // Trigger the CoProcessor to start processing the FIFO
}

I guess you see I am using the matrix orbital arduino example, please forgive me. Any idea how to get the lines to draw at the top of the button? Thanks.

2
Discussion - EVE / Whats inside a BT81x?
« on: May 16, 2019, 04:33:00 PM »
Is it a computer? 8 bit? 16 bit? 32 bit? Clock? An FPGA? Just wondering how it does all that stuff so fast.

Pages: [1]