lcd

How can I get the real size of the (lcd) display diagonal, i.e. if a it is a 17 inch or 19 inch or other?

拥有回忆 提交于 2019-12-10 08:01:07
问题 This is useful for me because I have to map objects with a correct dimension on screen; if I'm using a 19" lcd with 1280x1024 resolution and a normal 96dpi setting then in order to map a correct 1-inch square I have to write a xaml like this <Rectangle Name="one_inch_side_on_19_inch_diag_display" Height="86" Width="86" Fill="Blue"/> where Width and Height are put to 86 because 86 ~= 96 (dots-per-inch) * 17 (inches) / 19 (inches) as windows assumes 96dpi on a 17" monitor as the base to

Chipsee 7 inch LCD support in Linux kernel 3.14

喜你入骨 提交于 2019-12-04 15:58:42
Has anybody ported Chipsee 7 inch LCD on Linux kernel 3.14 or later ? Is there any patch available for the same ? If no patches any suggestion porting Chipsee LCD support from Linux kernel 3.8 to Linux kernel 3.14 ? Update: `/* * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ /dts-v1/; #include "am33xx.dtsi" #include "am335x-bone-common.dtsi" &ldo3_reg { regulator-min-microvolt =

Generating nanosecond delay in C on STM32

匆匆过客 提交于 2019-11-30 12:59:14
I am using STM32F2 controller and I am interfacing with an ST7036 LCD display via 8 bit parallel interface. The datasheet says there should be a 20 nano second delay between address hold and setup time. How do I generate a 20 nanosecond delay in C? Use stopwatch_delay(ticks ) below to accomplish your delays. It uses the STM32's DWT_CYCCNT register, which is specifically designed to count actual clock ticks, located at address 0xE0001004. To verify the delay accuracy (see main ), you can call STOPWATCH_START , run stopwatch_delay(ticks) , then call STOPWATCH_STOP and verify with

Generating nanosecond delay in C on STM32

我是研究僧i 提交于 2019-11-29 18:18:22
问题 I am using STM32F2 controller and I am interfacing with an ST7036 LCD display via 8 bit parallel interface. The datasheet says there should be a 20 nano second delay between address hold and setup time. How do I generate a 20 nanosecond delay in C? 回答1: Use stopwatch_delay(ticks ) below to accomplish your delays. It uses the STM32's DWT_CYCCNT register, which is specifically designed to count actual clock ticks, located at address 0xE0001004. To verify the delay accuracy (see main ), you can

Slight Delay After Returning from Interrupt

牧云@^-^@ 提交于 2019-11-29 17:01:07
I've written a small program that uses a button on an STM32 Discovery board to act as a counter in either Binary/Decimal/Hexadecimal mode (screen cycles through the 3 options and once pressed, counts up to 16 for each press before resetting to cycling through options). I'm encountering one small "bug" (read, not really) that has me a little confused. If I count up in Decimal/Hexadecimal, it returns to cycling through the options immediately but if I have counted up in Binary it takes ~1sec or so before doing so (a noticeable delay). int main(void) { RCC_APB1PeriphClockCmd(RCC_APB1Periph_TIM6,

WPF for LCD screen Full HD

主宰稳场 提交于 2019-11-27 21:44:56
I am developing a WPF application that will be displayed in a Full-HD LCD screen (42 inch). In addition, I need to accommodate the controls in absolute positions. In the development environment I can not see a window in length 1920x1080 (this is the fixed resolution of the targeted screen). What is the best practice to accomplish this task? WPF uses Device Independent Units for specifying width/heights/positions/thicknesses, etc. 1 DIU/DIP = 1 physical pixel when your screen DPI is set to 96dpi.....but 1 DIU = a different number of physical pixels when the DPI is not 96dpi. If you use a Canvas

Slight Delay After Returning from Interrupt

时间秒杀一切 提交于 2019-11-27 07:33:49
问题 I've written a small program that uses a button on an STM32 Discovery board to act as a counter in either Binary/Decimal/Hexadecimal mode (screen cycles through the 3 options and once pressed, counts up to 16 for each press before resetting to cycling through options). I'm encountering one small "bug" (read, not really) that has me a little confused. If I count up in Decimal/Hexadecimal, it returns to cycling through the options immediately but if I have counted up in Binary it takes ~1sec or

WPF for LCD screen Full HD

折月煮酒 提交于 2019-11-27 04:32:37
问题 I am developing a WPF application that will be displayed in a Full-HD LCD screen (42 inch). In addition, I need to accommodate the controls in absolute positions. In the development environment I can not see a window in length 1920x1080 (this is the fixed resolution of the targeted screen). What is the best practice to accomplish this task? 回答1: WPF uses Device Independent Units for specifying width/heights/positions/thicknesses, etc. 1 DIU/DIP = 1 physical pixel when your screen DPI is set