Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

3.95 inch display test

Featured Replies

  • Author

Now I have connected this display using fbtft 

post-1292-0-44424200-1466415577_thumb.jpg

post-1292-0-24995700-1466429431_thumb.jpg

 

This is done as folows:

sudo modprobe fbtft_device name=flexpfb rotate=180 gpios=dc:110,reset:21,wr:1,cs:6,db00:3,db01:68,db02:71,db03:64,db04:2,db05:65,db06:66,db07:67

sudo modprobe flexfb width=320 height=480 buswidth=8 init=-1,0x11,-2,200,-1,0x36,-1,0x3A,0x05,-1,0x36,0x48,-1,0x13,-1,0x29,-1,0x2C,-3

and test picture:

sudo fbi -d /dev/fb8 -T 1 -noverbose -a example.jpg

Video:

sudo apt-get install -y mplayer

sudo SDL_VIDEODRIVER=fbcon SDL_FBDEV=/dev/fb8 mplayer -vo sdl -framedrop example.mpg

Why it is extremaly slow ?  ( 1 frame pre second)

Some hint?

 

First thank you very much. This is what I was looking for , for like a few months.

But why the output is in portrait mode ? I tried both by playing wih rotate , width , hieght in modprobe but I could not change it to landscape mode. I also tried to change X11/xorg.conf with no luck.

Can you tell me how to change display orientation from portrait to landscape?

Thanks.

  • Author

Did You try manipulate of 0x36 register ? (now is value 0x48)

 

 

Ps.  

sudo fbi -d /dev/fb8 -T 1 -noverbose -a example.jpg 

you have to be careful with fbi, remains in memory - how many times You call to as many copies

use eg.

 pkill -9 fbi

Thank you for your input on the pins/ init sequence. I was trying a different set of pins/init sequence thinking the controller was a different one. There doesnt seem to be much information in aliexpress. Is there any documentation somewhere that I can use to understand on how this init sequence needs to be formatted and significance of the values? I know what -1, -2 and -3 mean, but not sure about the hex and int values in sequence.

 

BTW, I would also like to know how to manipulate 0x36 register. :)

Thanks a lot. I kinda figured out how to change 0x36 register.

 

it seems I can see it in the init params, like 0x36 followed by another hex value.

 

The hex value can be one of the below ones based on an issue discussion in fbtft support. (I'm yet to even try these ones to see how it works.)

 hexvalue rotatevalue result

0x28 0 Horizontal

0xF8 0 Horizontal

0x48 90 Vertical

0x84 90 Vertical

 

They seem to work in conjuction with rotate values passed to fbtft_device modprobe. I once again thank Mariuszb for your help :) :) :) :) :) :)

hi i have a similar buts its for ardunio and got every pin in accept 

 

lcd_rd

lcd_wr

lcd_rs 

and how can 

dc:110 < what layout of the pin is that?  i also do not  understand this 

my english is not good

can you help me a little? 

thanks :)

3.6TFT-2.JPG

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.