91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 4.85MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2023-09-16
  • 語言: 其他
  • 標簽: keil??stm32??oled??spi??

資源簡介

新SPI版0.96寸OLED顯示屏資料(SSD1306)藍色,stm32 spi通信

資源截圖

代碼片段和文件信息

/*
This?is?the?core?graphics?library?for?all?our?displays?providing?a?common
set?of?graphics?primitives?(points?lines?circles?etc.).??It?needs?to?be
paired?with?a?hardware-specific?library?for?each?display?device?we?carry
(to?handle?the?lower-level?functions).

Adafruit?invests?time?and?resources?providing?this?open?source?code?please
support?Adafruit?&?open-source?hardware?by?purchasing?products?from?Adafruit!
?
Copyright?(c)?2013?Adafruit?Industries.??All?rights?reserved.

Redistribution?and?use?in?source?and?binary?forms?with?or?without
modification?are?permitted?provided?that?the?following?conditions?are?met:

-?Redistributions?of?source?code?must?retain?the?above?copyright?notice
??this?list?of?conditions?and?the?following?disclaimer.
-?Redistributions?in?binary?form?must?reproduce?the?above?copyright?notice
??this?list?of?conditions?and?the?following?disclaimer?in?the?documentation
??and/or?other?materials?provided?with?the?distribution.

THIS?SOFTWARE?IS?PROVIDED?BY?THE?COPYRIGHT?HOLDERS?AND?CONTRIBUTORS?“AS?IS“
AND?ANY?EXPRESS?OR?IMPLIED?WARRANTIES?INCLUDING?BUT?NOT?LIMITED?TO?THE
IMPLIED?WARRANTIES?OF?MERCHANTABILITY?AND?FITNESS?FOR?A?PARTICULAR?PURPOSE
ARE?DISCLAIMED.?IN?NO?EVENT?SHALL?THE?COPYRIGHT?HOLDER?OR?CONTRIBUTORS?BE
LIABLE?FOR?ANY?DIRECT?INDIRECT?INCIDENTAL?SPECIAL?EXEMPLARY?OR
CONSEQUENTIAL?DAMAGES?(INCLUDING?BUT?NOT?LIMITED?TO?PROCUREMENT?OF
SUBSTITUTE?GOODS?OR?SERVICES;?LOSS?OF?USE?DATA?OR?PROFITS;?OR?BUSINESS
INTERRUPTION)?HOWEVER?CAUSED?AND?ON?ANY?THEORY?OF?LIABILITY?WHETHER?IN
CONTRACT?STRICT?LIABILITY?OR?TORT?(INCLUDING?NEGLIGENCE?OR?OTHERWISE)
ARISING?IN?ANY?WAY?OUT?OF?THE?USE?OF?THIS?SOFTWARE?EVEN?IF?ADVISED?OF?THE
POSSIBILITY?OF?SUCH?DAMAGE.
*/

#include?“Adafruit_GFX.h“
#include?“glcdfont.c“
#ifdef?__AVR__
?#include?
#else
?#define?pgm_read_byte(addr)?(*(const?unsigned?char?*)(addr))
#endif

Adafruit_GFX::Adafruit_GFX(int16_t?w?int16_t?h):
??WIDTH(w)?HEIGHT(h)
{
??_width????=?WIDTH;
??_height???=?HEIGHT;
??rotation??=?0;
??cursor_y??=?cursor_x????=?0;
??textsize??=?1;
??textcolor?=?textbgcolor?=?0xFFFF;
??wrap??????=?true;
}

//?Draw?a?circle?outline
void?Adafruit_GFX::drawCircle(int16_t?x0?int16_t?y0?int16_t?r
????uint16_t?color)?{
??int16_t?f?=?1?-?r;
??int16_t?ddF_x?=?1;
??int16_t?ddF_y?=?-2?*?r;
??int16_t?x?=?0;
??int16_t?y?=?r;

??drawPixel(x0???y0+r?color);
??drawPixel(x0???y0-r?color);
??drawPixel(x0+r?y0???color);
??drawPixel(x0-r?y0???color);

??while?(x????if?(f?>=?0)?{
??????y--;
??????ddF_y?+=?2;
??????f?+=?ddF_y;
????}
????x++;
????ddF_x?+=?2;
????f?+=?ddF_x;
??
????drawPixel(x0?+?x?y0?+?y?color);
????drawPixel(x0?-?x?y0?+?y?color);
????drawPixel(x0?+?x?y0?-?y?color);
????drawPixel(x0?-?x?y0?-?y?color);
????drawPixel(x0?+?y?y0?+?x?color);
????drawPixel(x0?-?y?y0?+?x?color);
????drawPixel(x0?+?y?y0?-?x?color);
????drawPixel(x0?-?y?y0?-?x?color);
??}
}

void?Adafruit_GFX::drawCircleHelper(?int16_t?x0?int16_t?y0
???????????????int

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件?????718802??2013-08-19?22:14??新OLED顯示屏資料(SSD1306)\128x64取字軟件.rar

?????文件??????12331??2013-07-05?14:51??新OLED顯示屏資料(SSD1306)\Arduino-OLED例程\Demo\Adafruit_GFX\Adafruit_GFX.cpp

?????文件???????2786??2013-07-05?14:51??新OLED顯示屏資料(SSD1306)\Arduino-OLED例程\Demo\Adafruit_GFX\Adafruit_GFX.h

?????文件???????8140??2013-07-05?14:51??新OLED顯示屏資料(SSD1306)\Arduino-OLED例程\Demo\Adafruit_GFX\glcdfont.c

?????文件???????1344??2013-07-05?14:51??新OLED顯示屏資料(SSD1306)\Arduino-OLED例程\Demo\Adafruit_GFX\license.txt

?????文件????????947??2013-07-05?14:51??新OLED顯示屏資料(SSD1306)\Arduino-OLED例程\Demo\Adafruit_GFX\README.txt

?????文件??????18574??2013-07-05?11:38??新OLED顯示屏資料(SSD1306)\Arduino-OLED例程\Demo\Adafruit_SSD1306\Adafruit_SSD1306.cpp

?????文件???????4378??2013-07-05?11:38??新OLED顯示屏資料(SSD1306)\Arduino-OLED例程\Demo\Adafruit_SSD1306\Adafruit_SSD1306.h

?????文件???????9098??2013-07-06?02:38??新OLED顯示屏資料(SSD1306)\Arduino-OLED例程\Demo\Adafruit_SSD1306\examples\ssd1306_128x32_i2c\ssd1306_128x32_i2c.ino

?????文件???????9139??2013-07-06?02:38??新OLED顯示屏資料(SSD1306)\Arduino-OLED例程\Demo\Adafruit_SSD1306\examples\ssd1306_128x32_spi\ssd1306_128x32_spi.ino

?????文件???????9097??2013-07-06?02:38??新OLED顯示屏資料(SSD1306)\Arduino-OLED例程\Demo\Adafruit_SSD1306\examples\ssd1306_128x64_i2c\ssd1306_128x64_i2c.ino

?????文件???????9141??2013-07-06?02:38??新OLED顯示屏資料(SSD1306)\Arduino-OLED例程\Demo\Adafruit_SSD1306\examples\ssd1306_128x64_spi\ssd1306_128x64_spi.ino

?????文件???????1499??2013-07-05?11:38??新OLED顯示屏資料(SSD1306)\Arduino-OLED例程\Demo\Adafruit_SSD1306\license.txt

?????文件???????1221??2013-07-05?11:38??新OLED顯示屏資料(SSD1306)\Arduino-OLED例程\Demo\Adafruit_SSD1306\README.txt

?????文件???????9141??2013-07-06?02:38??新OLED顯示屏資料(SSD1306)\Arduino-OLED例程\Demo\Demo.ino

?????文件????????142??2014-05-25?11:35??新OLED顯示屏資料(SSD1306)\Arduino-OLED例程\Demo\使用說明.txt

?????文件???????8172??2014-05-22?18:36??新OLED顯示屏資料(SSD1306)\AVR-OLED例程\oled.c

?????文件????????771??2014-05-22?18:30??新OLED顯示屏資料(SSD1306)\AVR-OLED例程\oled.h

?????文件??????30134??2014-05-25?11:40??新OLED顯示屏資料(SSD1306)\C51-OLED例程(STC89C52)\OLED\codetab.h

?????文件???????7065??2014-05-25?11:48??新OLED顯示屏資料(SSD1306)\C51-OLED例程(STC89C52)\OLED\LQ12864.h

?????文件??????18526??2014-05-25?11:48??新OLED顯示屏資料(SSD1306)\C51-OLED例程(STC89C52)\OLED\OLED

?????文件??????18408??2014-05-25?11:48??新OLED顯示屏資料(SSD1306)\C51-OLED例程(STC89C52)\OLED\OLED.hex

?????文件?????????45??2014-05-25?11:48??新OLED顯示屏資料(SSD1306)\C51-OLED例程(STC89C52)\OLED\OLED.lnp

?????文件??????17156??2014-05-25?11:48??新OLED顯示屏資料(SSD1306)\C51-OLED例程(STC89C52)\OLED\OLED.M51

????.......??????1662??2013-12-03?21:03??新OLED顯示屏資料(SSD1306)\C51-OLED例程(STC89C52)\OLED\OLED.opt.bak

?????文件???????1595??2014-05-25?11:52??新OLED顯示屏資料(SSD1306)\C51-OLED例程(STC89C52)\OLED\OLED.plg

????.......??????2191??2013-08-22?15:55??新OLED顯示屏資料(SSD1306)\C51-OLED例程(STC89C52)\OLED\OLED.Uv2.bak

????.......????141409??2014-05-25?11:52??新OLED顯示屏資料(SSD1306)\C51-OLED例程(STC89C52)\OLED\OLED.uvgui.Aaron_Lee

????.......??????7825??2014-05-25?11:52??新OLED顯示屏資料(SSD1306)\C51-OLED例程(STC89C52)\OLED\OLED.uvopt

????.......?????13753??2014-05-25?11:52??新OLED顯示屏資料(SSD1306)\C51-OLED例程(STC89C52)\OLED\OLED.uvproj

............此處省略115個文件信息

評論

共有 條評論