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.

Messages - BRT Community

Pages: 1 ... 41 42 [43] 44 45 ... 50
631
Hello,

One possibility is that the HY4635 may require clock stretching on the I2C interface, if this is the case it may be possible to support this with the FT813. You would be able to determine if clock stretching is required via a logical analyser capture of the I2C data.

Best Regards,
BRT Community

632
Hello

EVE Screen Designer (ESD) does work with the BT81x series of ICs, however the code it generates is heavily obfuscated and specific to our FT9XX series of microcontrollers.
As you are not using the FT9XX as your MCU I would advise against using ESD. It would be possible to port the code to different microcontrollers, but the only guide we have is for the STM32 platform.

You can use the EVE Screen Editor (ESE) utility instead to lay out static screens and create Display Lists but this does not create code for the logic of moving between screens. A BT81x Series Programmers Guide is also available.

A draft application note is available which extends the FT81X Simple PIC Library Examples Application note, which is based upon the Library developed in    FT81X Creating a Simple Library For PIC MCU, this includes an MSP430 project.

The source code can be downloaded here.

Best Regards,
BRT Community

633
Discussion - EVE / Re: Question for method BLENDING
« on: December 13, 2019, 03:26:43 PM »
Hello,

I will pass this on to the development team to see if they have any suggestions.

Best Regards,
BRT Community

634
Discussion - EVE / Re: Question for method BLENDING
« on: December 13, 2019, 11:02:56 AM »
Hello,

Have you though about using a bitmap image in place of trying to render the image via commands?

Best Regards,
BRT Community

635
Discussion - EVE / Re: Question for method BLENDING
« on: December 12, 2019, 02:42:28 PM »
Hello,

Can you have a look at the below display list, where the two circles are stencilled and a background gradient is used which appears through the centre of the 'ring' and the 'ring' itself has a separate gradient. I believe basically this is what you are trying to achieve.

Code: [Select]
CLEAR(1, 1, 1)

COLOR_MASK(0, 0, 0, 0)
STENCIL_OP(INCR,INCR)
BEGIN(POINTS)
POINT_SIZE(500)
VERTEX2II(400, 240, 0, 0)
POINT_SIZE(1000)
VERTEX2II(400, 240, 0, 0)
STENCIL_OP(KEEP, KEEP)

COLOR_MASK(1, 1, 1, 1)

STENCIL_FUNC(ALWAYS, 0, 255)
CMD_GRADIENT(342, 170, 0x55007F, 473, 284, 0xAAAA00)

STENCIL_FUNC(EQUAL, 2, 1)
CMD_GRADIENT(352, 160, 0xFF0000, 493, 283, 0xAA00FF)

STENCIL_FUNC(ALWAYS, 0, 255)
CMD_TEXT(375, 326, 28, 0, "Text")

Best Regards,
BRT Community

636
Discussion - EVE / Re: Question for method BLENDING
« on: December 11, 2019, 10:39:16 AM »
Hello,

Can you provide the display list that you are using?

Best Regards,
BRT Community

637
Discussion - EVE / Re: Question for method BLENDING
« on: December 03, 2019, 02:09:50 PM »
Hello,

You may find this book of graphics techniques to be useful. This module uses an EVE device and so the same co-processor commands as all our examples, just via a different library.
http://excamera.com/files/gd2book_v0.pdf

I believe the following scissor, stencil and alpha examples should get you on your way to creating the image you desire.


For scissors, the idea is to define an area of the screen which will be updated. You define the top-left coordinate (xy) of a virtual box and then the size in x and y of the box, thereby defining an area of the screen. When you perform a graphics operation, only the area of the screen in the box is affected. To go back to adding items over the full screen, you set the scissor xy back to (0,0) and scissor size to be the full screen. Below, the red rectangle (as dimensioned by the two cursors shown) only paints within a 100x100 box which has coordinate (100,100) at the top left due to the scissors.

** see scissors.png **
 
Code: [Select]
CLEAR_COLOR_RGB(128, 255, 158)
CLEAR(1, 1, 1)
SCISSOR_XY(100, 100)
SCISSOR_SIZE(100, 100)
COLOR_RGB(255, 0, 0)
BEGIN(RECTS)
VERTEX2II(64, 50, 0, 0)
VERTEX2II(365, 203, 0, 0)
END()


For Stencil, we use three steps below to draw the polygon. There are many ways to do this and one may be more efficient for a particular situation but here is the general principle:

 ** see stencil.png **

First, we use a stencil operation to define how the stencil buffer is affected by writes to the screen. By setting it to INCR, INCR, then each time we place an item, the stencil buffer is incremented for each pixel drawn. We mask off the colours so that nothing is visible and then draw the shapes, taking care that they overlap such that the pixels we want for the final shape are incremented twice. The first pair of vertices draw the left image and the second pair draw the right image. The desired area is therefore only drawn over once. All other parts of the screen are either not touched or drawn twice.
 
Code: [Select]
CLEAR(1, 1, 1)
COLOR_RGB(255, 0, 0)
STENCIL_OP(INCR,INCR)
COLOR_MASK(0,0,0,0) //mask all the colors
BEGIN(EDGE_STRIP_L)
VERTEX2II(300,100,0,0)
VERTEX2II(200,200,0,0)
VERTEX2II(400,200,0,0)
VERTEX2II(300,100,0,0)
END()

Then we re-enable the colours and draw another edge strip. The stencil func causes only areas with 1 in the stencil buffer to be rendered.

Code: [Select]
COLOR_MASK(1,1,1,1) //enable all the colors
STENCIL_FUNC(EQUAL,1,255)
BEGIN(EDGE_STRIP_L)
VERTEX2II(480,0)
VERTEX2II(480,272)
END()

Finally, we can draw an outline using a line strip. The stencil is set back to ‘always draw’ so that we can draw anywhere on the screen.

Code: [Select]
STENCIL_FUNC(ALWAYS,0,255)
LINE_WIDTH(16)
COLOR_RGB(255, 255, 255)
BEGIN(LINE_STRIP)
VERTEX2II(300,100,0,0)
VERTEX2II(200,200,0,0)
VERTEX2II(400,200,0,0)
VERTEX2II(300,100,0,0)
VERTEX2II(300,100,0,0)
END()
DISPLAY()


The Alpha value will specify the transparency of an item drawn on the screen. If the alpha value was set to 255 before an item is drawn, the item will be drawn as a solid colour. If the alpha is reduced toward 0, the item will become more transparent and any items underneath will be visible.

** see alpha.png **

Code: [Select]
CLEAR_COLOR_RGB(0, 0, 0)
CLEAR(1, 1, 1)
POINT_SIZE(1600)
BEGIN(POINTS)

COLOR_RGB(255, 0, 0)
COLOR_A(255)
VERTEX2II(120, 146, 0, 0)

COLOR_RGB(0, 255, 0)
COLOR_A(128)
VERTEX2II(256, 153, 0, 0)

COLOR_RGB(0, 0, 255)
COLOR_A(128)
VERTEX2II(186, 104, 0, 0)

END()

Best Regards,
BRT Community

638
Discussion - EVE / Re: Alpha Value ignored for ESD_Circle_Line
« on: November 27, 2019, 03:59:43 PM »
Hello,

Currently there is no possibility for blending with the Circle Line in ESD.
I will pass this on to the dev team so they can either remove the option or update the capabilities of the widget.

Best Regards,
BRT Community

639
Discussion - EVE / Re: Best way to manage many dynamic objects
« on: November 20, 2019, 01:10:26 PM »
Hello,

Thanks for your question, I have referred this to the development team who are better suited to answering your queries.

In the meantime the user guide can be found here:
https://brtchip.com/wp-content/uploads/Support/Documentation/Programming_Guides/Modules/EVE/ESD-User-Guide-4.8.pdf

Best Regards,
BRT Community

640
Discussion - EVE / Re: Portrait mode display in EVE Screen Designer
« on: November 18, 2019, 02:27:23 PM »
Hello,

I will consult the development team, but currently I don't believe there is any support for creating portrait display projects within ESD.

Best Regards,
BRT Community

641
Discussion - MCU / Re: OTP programming can be triggered unconciously?
« on: November 13, 2019, 04:31:45 PM »
Hello,

You have already emailed our support team on this issue.

Feel free to post any resolution here to help other forum users.

Best Regards,
BRT Community

642
Discussion - EVE / Re: Styling 3D control Shadow effects
« on: November 12, 2019, 02:12:17 PM »
Hello,

The development team are currently looking into the potential for removing this shadow.

I would however suggest that another option to remove it would be to place the button without anything in its text field and then use a text command to add text on top of it. You may also want to consider creating your own button icons and using bitmap cells to alternate between a 'pressed' and 'un-pressed' icon when a touch is detected.

Best Regards,
BRT Community

643
Discussion - EVE / Re: Styling 3D control Shadow effects
« on: November 08, 2019, 02:27:21 PM »
Hello,

Are you referring to for example the shading effect on the text within a button widget? I will need to clarify with the development team if it is possible to change the colour of this shadow.

Best Regards,
BRT Community

644
Discussion - EVE / Re: Code Warnings in EVE Generated Code
« on: November 08, 2019, 01:34:47 PM »
Hello,

Thank you, I have passed this on to the development team.

Best Regards,
BRT Community

645
Hello,

It is confirmed as a nature of the EVE hardware, that this is a caveat for the use the radius property for Rectangle based widgets, such as ESD Panel, ESD Rectangle. The minimum allowable radius value is: 1


Best Regards,
BRT Community

Pages: 1 ... 41 42 [43] 44 45 ... 50