Search found 588 matches

by Ray
Mon Apr 07, 2025 10:36 am
Forum: EVE2 & EVE3 & EVE4 SPI TFT's
Topic: Determining the width of text drawn with CMD_TEXT
Replies: 1
Views: 27316

Re: Determining the width of text drawn with CMD_TEXT

While the eve offers no function to quickly get the size of a string, you can download the rom font header from the unit and calculate this your self, in AN_033 - BT81X programming guide see sections:

5.4.1 (Legacy Font Metrics Block) and
5.4.2 (Example to find the width of character)

do note ...
by Ray
Fri Mar 28, 2025 9:18 am
Forum: EVE2 & EVE3 & EVE4 SPI TFT's
Topic: Problem updating clocks on screen - EVE3x43
Replies: 1
Views: 9963

Re: Problem updating clocks on screen - EVE3x43

The eve doesn't allow partial updates like that, if you want to update a section of the screen you'll have to send a complete new display list
by Ray
Mon Jan 13, 2025 10:52 am
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: LK204-25-USB-GW Driver for PfSense (FreeBSD)
Replies: 1
Views: 81870

Re: LK204-25-USB-GW Driver for PfSense (FreeBSD)

Most likely culprit is the ftdi driver not being loaded, has `uftdi_load="YES"` been added to `/boot/loader.conf` ?

if that's not the case, what's the reported `idVendor` and `idProduct` for the device when running `usbconfig dump_device_desc` ?
by Ray
Thu Jul 13, 2023 12:25 pm
Forum: EVE2 & EVE3 & EVE4 SPI TFT's
Topic: Screen touch interrupts
Replies: 2
Views: 19633

Re: Screen touch interrupts


In short, the setup code is like this:

wr32(REG_INT_MASK, 0x00000002);
wr32(REG_INT_EN, 0x00000001);

Does it seem to be right?


depends a bit on the value you have for REG_INT_MASK, if you use our sample code we define it as 0xb0 which means you'd have to use RAM_REG + REG_INT_MASK to get its ...
by Ray
Tue May 30, 2023 9:59 am
Forum: EVE2 & EVE3 & EVE4 SPI TFT's
Topic: Screen shots using EVE (BT815)
Replies: 1
Views: 18056

Re: Screen shots using EVE (BT815)

We don't have any example code available for it, but the CMD_SNAPSHOT and CMD_SNAPSHOT2 commands from the Eve Programming Guide will be useful for this use case.
by Ray
Wed Aug 24, 2022 11:05 am
Forum: HDMI TFT
Topic: HTT HDMI TFT Support Utility
Replies: 3
Views: 35380

Re: HTT HDMI TFT Support Utility

Found some time to test on Linux, the following udev rules will allow regular users to use the htt utility

SUBSYSTEM=="usb", ATTRS{idVendor}=="1b3d", ATTRS{idProduct}=="14c9", MODE="0666"
KERNEL=="hidraw*", ATTRS{busnum}=="1", ATTRS{idVendor}=="1b3d", ATTRS{idProduct}=="14c9", MODE="0666"
by Ray
Mon Aug 22, 2022 12:30 pm
Forum: HDMI TFT
Topic: HTT HDMI TFT Support Utility
Replies: 3
Views: 35380

Re: HTT HDMI TFT Support Utility

Likely a permission issue imposed by the OS, can you try with sudo ?

If that works you'll have to add a udev rule to give users permissions to touch the device :

ATTR{idVendor}=="1b3d", ATTR{idProduct}=="14c9", TAG+="uaccess"

will likely do it, but i don't have system to test this on at the ...
by Ray
Wed Jul 27, 2022 2:27 pm
Forum: EVE2 & EVE3 & EVE4 SPI TFT's
Topic: Linux ASTC encoder
Replies: 1
Views: 18613

Re: Linux ASTC encoder

The format is a little different, it requires a specific block order, you can find some details and a conversion script on the bridgetek forums over at

http://www.brtcommunity.com/index.php?t ... 108#msg108
by Ray
Tue Apr 12, 2022 3:24 pm
Forum: EVE2 & EVE3 & EVE4 SPI TFT's
Topic: Basic Arduino EVE Demo
Replies: 3
Views: 21833

Re: Basic Arduino EVE Demo

you can find the definition for line width over here

https://github.com/MatrixOrbital/EVE2-L ... 81x.h#L365
by Ray
Fri Nov 05, 2021 9:23 am
Forum: EVE2 & EVE3 & EVE4 SPI TFT's
Topic: Emulation of EVEx on a PC screen
Replies: 4
Views: 15865

Re: Emulation of EVEx on a PC screen

It's included in the sample applications over at [1] since the download link somewhat gets lost in that page i'll link the current version as of today directly [2]

[1] https://brtchip.com/SoftwareExamples-eve
[2] https://brtchip.com/wp-content/uploads/ ... .2-rc3.zip
by Ray
Thu Nov 04, 2021 2:39 pm
Forum: EVE2 & EVE3 & EVE4 SPI TFT's
Topic: Emulation of EVEx on a PC screen
Replies: 4
Views: 15865

Re: Emulation of EVEx on a PC screen

Bridgetek has an emulator available, you can find details in appnote AN-281 [1]

[1] https://brtchip.com/wp-content/uploads/ ... _Guide.pdf
by Ray
Thu Oct 07, 2021 3:05 pm
Forum: EVE2 & EVE3 & EVE4 SPI TFT's
Topic: Display Custom Image on EVE3-50A-TPN
Replies: 1
Views: 8452

Re: Display Custom Image on EVE3-50A-TPN

The Eve Assetbuilder is available on bridgeteks website [1] it can be used to convert and upload images to the module over USB when used in combination with our USB bridge [2] but it also offers the option of writing them to disk in various formats for further use.

as for the widgets, there are ...
by Ray
Mon Oct 04, 2021 7:51 am
Forum: GX and Typhoon
Topic: LCDStudio Source
Replies: 4
Views: 158951

Re: LCDStudio Source

I'm sorry to report there are currently no plans for a source release.
by Ray
Mon Nov 09, 2020 12:43 pm
Forum: EVE2 & EVE3 & EVE4 SPI TFT's
Topic: resistance threshold touch value of eve2-70A
Replies: 7
Views: 9531

Re: resistance threshold touch value of eve2-70A

I can't easily tell what your code is doing or what the debug output means, best i can do is refer you to our manual calibration example code available here
by Ray
Thu Nov 05, 2020 3:13 pm
Forum: EVE2 & EVE3 & EVE4 SPI TFT's
Topic: resistance threshold touch value of eve2-70A
Replies: 7
Views: 9531

Re: resistance threshold touch value of eve2-70A

Regardless of the touch calibration matrix, the output of the `REG_TOUCH_RZ` register should be in between 0 and 32767.

if you go by the letter of the data sheet you should and it with 0x7fff but I admit I've never seen bits 16-31 being anything other than 0

the fact that you are reading values ...