亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? readme.txt

?? LCD using AVR controller
?? TXT
字號:
This file is part of a ZIP archive that was downloaded from
<http://www.idleloop.com/robotics/ColorLCD/>

The code provided here comes with no warranty or support.
It is distributed under the GNU General Public License.
See GNU-GPL.txt or http://www.gnu.org/copyleft/gpl.html for details.

This sample code is designed to work on Spark Fun's Nokia-like graphic
color LCD.

=== wiring ===

I had the best results when using a 3.3V supply for VCC-Digital and VCC-Display,
with a separate (6-7V) supply and current-limiting resistor for LED V+ (I used
a 5-pack of NiMH with a 68 Ohm resistor for LED V+ and a voltage regulator for
the 3.3V supply). I also used a 33kOhm pull-up resistor on the CS (chip select)
line to ensure that it would be disabled during AVR programming.

For control lines, the important thing is that SDATA and SCLK are connected to
the MOSI and SCK outputs (from SPI). Other lines can be changed (but do of course
require a corresponding code change).

Wiring for the control lines is as follows:

 LCD           ATmega16/32/644   ATmega128
 -----------   ---------------   ------------
 CS            PC0               PC0
 RESET (RST)   PA7               PA7
 SDATA         PB5 (MOSI)        PB2 (MOSI) *
 SCLK          PB7 (SCK)         PB1 (SCK) *

 (pushbutton)  PB3               PB3         optional; connect between pin and GND

 * Note: if using pins other than in the mega16/32/644 column, you'll need to
   update the code as well! (See the "globals" section at the top of main.cpp.)

=== LCD calibration ===

The LCD has an LED backlight with a brightness controlled in software.
In main.cpp, the function VolumeExperiment is designed to help you determine
the best setting for your system (based on voltage applied to LED V+ and
variation between LCDs). See the comment by the function (and sample call
from main) for details.

=== building ===

This code was compiled with WinAVR-20060421 (which uses avr-gcc), and was
tested on an ATmega644. It should also work on the ATmega16, ATmega32,
and ATmega128.

If you are using something other than an ATmega644, make the following changes
in "makefile"
  - set MCU_TARGET (list options with: avr-gcc --target-help)
  - set AVRDUDE_PART (list options with: avrdude -c avrisp)
  - update the "setfuse" rule

Typing "make" with no arguments will build the program.
There are a couple useful arguments you can specify:
  - make setfuse -- this will program the fuse bits; be sure to update the
      setfuse rule in the makefile to use appropriate values for your controller!
  - make program -- this will download your program using AVRDUDE; see the
      comment at the top of makefile for details

=== code ===

The code is in the AVRcode folder. Highlights...

* main.cpp -- contains declarations of variables corresponding to wiring,
  and contains main() function. The default program will cycle through
  several screens. There is also code to help pick a value for screen
  "volume" (brightness).
* Config.h -- this file contains defined values to control what features
  are included by various .cpp files.
* Bitmaps.cpp/h -- these files contain the information for the bitmaps
  shown in the sample code. (See the "utilities" section below for details
  on how to generate this info for your images!)

The "library" code is generally unchanged for different applications, so
these files are in a separate "lib" folder. The most interesting ones for
this project are:

* lib/LCD-color.h -- look at the functions (and corresponding comments)
  to see what the LCD can do! (Examples of using these functions are
  in main.cpp.)
* lib/Fonts.h -- the header comment lists the fonts available; add
  #define values in Config.h to include fonts in your program. (See the
  "utilities" section below for details on creating your own fonts!)

=== utilities ===

There are two programs in the "util" folder:
* lcdphoto   -- generates a byte array from a picture
* fontmunger -- generates code for a font drawn in a bitmap
They are designed to be run from the command line. Run with no
arguments to see the usage information. These programs are described
below.

To create a picture for the LCD:
  + In Abode Photoshop:
    - Set the Image Mode to (8-bit) RGB.
    - Crop and resize as necessary so picture is a maximum of 130 pixels
      in either dimension.
    - File/Save As, Format = Photoshop Raw, interleaved (header 0 bytes).
    - Remember the number of pixels for width and height.
  + Run lcdphoto (in the util folder); usage:
       lcdphoto (width) (height) (filename)
    The output will go to the command window. It's convenient to redirect
    it to a file. Example:
       lcdphoto 50 76 giraffe.raw > giraffe.txt
    This specifies that giraffe.raw contains the image data for a picture
    that is 50 pixels wide by 76 pixels high, and redirects the output to
    a file called giraffe.txt.
  + Copy the output from lcdphoto into Bitmaps.cpp (use the existing code
    as an example).
  + Add a declaration in Bitmaps.h (using existing code as an example).

To create a new font for the LCD:
  + In Abode Photoshop:
    - Set the Image Mode to Indexed Color. Indices are used as follows:
      ~ 0: background (e.g. white)
      ~ 1: font pixels (e.g. black)
      ~ 2: gridlines (e.g. red)
      ~ 3: baseline (e.g. blue)
    - Use the PSD files in the util/fontmunger/fonts folder as examples
      (e.g. FontGrid-5x9.psd).
    - Draw gridlines to create "cells" for the characters. All characters
      must be the same height; they can be different widths.
    - Draw characters in the cells.
    - The first cell is assumed to correspond to space (ASCII 0x20)
      ~ The cell height determines the height used for all characters.
      ~ A horizontal blue line specifies the baseline (lowest pixel
        for capital letters), which determines the ascent and descent
        for the font.
    - Each subsequent cell corresponds to the next ASCII value. Leave cells
      blank for characters that aren't defined. You can stop when there are
      no more characters (there's no assumption about the last character
      defined).
    - For monospace fonts, the width of the space defines the width of
      all characters; they must match or will be truncated.
    - For proportional fonts, the width of the "0" (zero) character cell
      defines the width for all numbers.
    - For proportional fonts, whitespace will be trimmed on BOTH sides,
      except for space and numbers.
    - The right edges of the last character in each row must line up. So,
      make the last character wider as necessary (it will be trimmed as
      appropriate). (See FontGrid-3x5.psd for an example.)
    - File/Save As, Format = Photoshop Raw, interleaved (header 0 bytes).
  + Run fontmunger (in the util folder); usage:
       fontmunger <file> [mono]
    The text "mono" is optional and specifies to create a monospace font;
    if omitted, a proportional font is created. The output will go to the
    command window. It's convenient to redirect it to a file. Examples:
       fontmunger 5x9.raw > 5x9.txt
       fontmunger 5x9.raw mono > 5x9Mono.txt
    The first example specifies that 5x9.raw should be used to generate
    a proportional font set, and saves the generated code to 5x9.txt.
    The second example uses the same file, but interprets it for a
    monospace font set.
  + Copy the generated file (e.g. 5x9.txt) to the lib folder (in AVRcode).
  + Add code for your new font to the end of Fonts.cpp (using the existing
    code as an example).
  + Add a declaration at the end of Fonts.h (using existing code as an example).

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产综合久久久久影院| 成人欧美一区二区三区黑人麻豆| 99久久免费视频.com| 风间由美一区二区三区在线观看| 激情国产一区二区 | 大桥未久av一区二区三区中文| 蜜桃精品视频在线观看| 另类小说欧美激情| 国模一区二区三区白浆| 国产高清久久久久| 成人免费视频视频| 色综合久久久久综合| 精品视频全国免费看| 欧美一区二区三区影视| 精品国内二区三区| 亚洲国产成人一区二区三区| |精品福利一区二区三区| 亚洲激情图片qvod| 天堂精品中文字幕在线| 蜜臂av日日欢夜夜爽一区| 国内精品国产成人| jvid福利写真一区二区三区| 色婷婷一区二区| 欧美一区二区国产| 2021久久国产精品不只是精品| 国产免费成人在线视频| 一区二区三区.www| 麻豆成人免费电影| 成人av在线资源网站| 欧美三级日本三级少妇99| 51午夜精品国产| 久久久亚洲欧洲日产国码αv| 日本一区二区成人在线| 亚洲午夜精品久久久久久久久| 久久精品av麻豆的观看方式| jiyouzz国产精品久久| 欧美一级片在线观看| 精品国产乱码久久| 亚洲精品菠萝久久久久久久| 麻豆精品在线播放| 日本韩国欧美三级| 日韩美女在线视频| 国产精品美女久久久久久久久久久 | 欧美三级蜜桃2在线观看| 欧美精品一区二区高清在线观看| 中文字幕视频一区| 久久99精品一区二区三区| 91国偷自产一区二区使用方法| 欧美电影免费提供在线观看| 亚洲色大成网站www久久九九| 麻豆91精品视频| 欧洲另类一二三四区| 国产欧美精品区一区二区三区| 一区二区久久久| www.欧美.com| 久久精品一区蜜桃臀影院| 亚洲成人高清在线| 色噜噜狠狠色综合中国| 久久精品男人天堂av| 日本成人在线电影网| 在线观看精品一区| 国产精品网曝门| 黄色小说综合网站| 欧美成人video| 免费在线看成人av| 欧美性大战久久久久久久蜜臀 | 中文字幕在线不卡一区二区三区 | 国产精品一级片| 欧美一级视频精品观看| 日韩国产一区二| 欧美人牲a欧美精品| 亚洲一区二区三区国产| 一本大道久久a久久综合| 亚洲欧洲日本在线| 97se亚洲国产综合自在线| 中文字幕不卡的av| 成人综合婷婷国产精品久久蜜臀| 日韩女同互慰一区二区| 蜜桃91丨九色丨蝌蚪91桃色| 欧美zozozo| 国内精品国产三级国产a久久| 在线综合视频播放| 婷婷综合五月天| 在线不卡的av| 美女视频黄 久久| 精品久久人人做人人爽| 国产精品综合视频| 国产精品理伦片| 在线观看免费亚洲| 日韩精品成人一区二区三区| 日韩免费在线观看| 国产激情一区二区三区桃花岛亚洲| 久久久91精品国产一区二区精品| 国产大陆精品国产| 亚洲日本一区二区| 欧美制服丝袜第一页| 青青草97国产精品免费观看无弹窗版| 欧美一级日韩免费不卡| 国产乱国产乱300精品| 中文字幕一区二区日韩精品绯色| 色8久久精品久久久久久蜜| 午夜精品在线看| 亚洲精品一区在线观看| 97久久精品人人澡人人爽| 亚洲综合无码一区二区| 日韩午夜精品视频| 成人av免费在线播放| 亚洲成人av一区二区三区| 精品久久五月天| 在线一区二区三区四区五区| 日日夜夜精品视频天天综合网| 久久久青草青青国产亚洲免观| aaa亚洲精品一二三区| 日本美女视频一区二区| 久久影院午夜片一区| 欧洲亚洲精品在线| 狠狠色丁香九九婷婷综合五月| 亚洲三级在线播放| www久久精品| 欧美在线观看一区二区| 国产伦精品一区二区三区免费迷 | 日韩电影在线一区二区三区| 国产欧美日韩精品一区| 欧美精品亚洲二区| aaa欧美色吧激情视频| 美女视频黄免费的久久| 亚洲裸体在线观看| 久久久久久久精| 欧美一区二区精美| 91福利精品第一导航| 国产福利精品导航| 免费高清不卡av| 亚洲第一狼人社区| 亚洲三级在线看| 日本一区二区视频在线| 日韩一级二级三级| 色婷婷综合激情| 成人动漫精品一区二区| 国产伦精品一区二区三区视频青涩| 亚洲电影中文字幕在线观看| 国产精品私人影院| 久久综合给合久久狠狠狠97色69| 欧美日韩国产bt| 91精品福利在线| 97精品国产97久久久久久久久久久久 | 国产高清成人在线| 久久精品国产久精国产爱| 亚洲成人先锋电影| 一区二区三区精品视频| 亚洲欧美福利一区二区| 国产精品久久三区| 国产三级精品三级| 国产亚洲欧美激情| 久久久久88色偷偷免费| 中文字幕中文字幕中文字幕亚洲无线 | 中文字幕一区二区三区视频| 国产欧美一区二区在线| 久久久五月婷婷| 国产亚洲精久久久久久| 国产情人综合久久777777| 日本一区二区成人| 最新欧美精品一区二区三区| 成人欧美一区二区三区黑人麻豆| 亚洲色图一区二区| 亚洲午夜国产一区99re久久| 无吗不卡中文字幕| 美女被吸乳得到大胸91| 国产一区二区三区在线观看精品| 国产成人av一区二区| 成av人片一区二区| 91黄色激情网站| 日韩一级完整毛片| 国产欧美视频在线观看| 亚洲免费av网站| 天堂久久一区二区三区| 精品中文av资源站在线观看| 国产毛片精品一区| 91丨porny丨在线| 在线观看91精品国产麻豆| 日韩精品一区二| 亚洲欧洲av在线| 日韩精品视频网| 国产成a人亚洲| 欧美亚洲另类激情小说| 日韩女优制服丝袜电影| 国产精品九色蝌蚪自拍| 性做久久久久久免费观看欧美| 精品制服美女久久| 91影院在线观看| 欧美成人精品3d动漫h| 国产精品电影院| 久久99精品国产麻豆婷婷| 99久久伊人网影院| 91精品在线一区二区| 国产精品久久夜| 韩国视频一区二区| 在线国产电影不卡| 久久九九全国免费| 国产综合色精品一区二区三区| 91社区在线播放|