SSD 1306显示屏 adafruit SSD 1306

news2025/1/15 16:10:56

文章目录

    • 1.常用函数
      • 1.字体
        • oled.print
        • oled.setRotation(1);
        • oled.setTextSize(1);
        • oled.setCursor(35, 5);
      • 2.图形类
        • oled.fillScreen(WHITE );//color
        • oled.fillRect(10, 10, 20, 20, WHITE );//x y x1 y1 color
        • oled.drawRect(10, 10, 40,40, WHITE );//x y x1 y1 color
        • oled.drawCircle(20, 200, 20, WHITE );
        • oled.fillCircle(20, 20, 30, WHITE );//x y r color
        • --------------------------------------------------------------------------------------------
        • oled.drawFastHLine(10,10,50,WHITE);//x y :坐标、 w:长度 、 color、
        • oled.drawFastVLine(10,10,50,WHITE);//x y :坐标、 w:长度 、 color
        • oled.drawLine(10,10,50,60,WHITE);//x1 y1 x2 y2 color
        • --------------------------------------------------------------------------------------------
        • oled.drawTriangle(10,10,20,10,15,40,WHITE); //边框三角形
        • oled.fillTriangle(10,10,20,10,15,40,WHITE);//x1 y1 ,x2 y2,x3 y3,color //填充三角形
        • oled.drawRoundRect(10,10,30,40,5,WHITE);//x, y , w, h ,r, color, //边框椭圆矩形
        • oled.fillRoundRect(10,10,30,40,5,WHITE);//x, y , w, h ,r, color,//填充椭圆矩形
      • 3.显示汉字
        • 3-1:常见问题可以跳转这个链接
      • 4.显示图片bmp

为什么OLED能用Print函数:
继承了print
在这里插入图片描述

1.常用函数

这几个函数都在GFX库中
在这里插入图片描述

1.字体

oled.print

oled.setRotation(1);

oled.setTextSize(1);

oled.setCursor(35, 5);

/*
 
 */
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
 
Adafruit_SSD1306 oled(128, 64, &Wire,-1);
 
void setup()
{

  oled.begin(SSD1306_SWITCHCAPVCC,0x3C);
}
 
void loop() {
  oled.setRotation(1);
  oled.setTextColor(WHITE);//开像素点发光

  oled.clearDisplay();//清屏
  
  //设置字体大小  
  oled.setTextSize(1); //设置字体大小  
  
  //设置显示位置
  oled.setCursor(35, 5);//设置显示位置
  
  oled.println("-TonyCode-");
  oled.display();  delay(5000);oled.clearDisplay();//开启显示----5秒----关闭显示

  oled.setRotation(2);
  oled.setTextSize(2);//设置字体大小  
  oled.setCursor(15, 30);//设置显示位置
  oled.println("OLED TEST");
  
  oled.display();  delay(5000);    oled.clearDisplay();//清屏
  }
 oled.setRotation(2);//可以选择0  1  2  3
  oled.setTextSize(2);//设置字体大小

在这里插入图片描述

2.图形类

oled.fillScreen(WHITE );//color

oled.fillRect(10, 10, 20, 20, WHITE );//x y x1 y1 color

oled.drawRect(10, 10, 40,40, WHITE );//x y x1 y1 color

oled.drawCircle(20, 200, 20, WHITE );

oled.fillCircle(20, 20, 30, WHITE );//x y r color

在这里插入图片描述


#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
 
Adafruit_SSD1306 oled(128, 64, &Wire,-1);
 
void setup()
{
 
  oled.begin(SSD1306_SWITCHCAPVCC,0x3C);

  oled.setRotation(2);
}
 
void loop() {
   
  oled.setTextColor(WHITE);//开像素点发光
  
  oled.clearDisplay();//清屏
  
  //填充整屏
  oled.fillScreen(WHITE );//color
  oled.display();  delay(5000);    oled.clearDisplay();//清屏
  
  //填充矩形
  oled.fillRect(10, 10, 20, 20, WHITE );//x y x1 y1 color
  oled.display();  delay(5000);    oled.clearDisplay();//清屏
 
//边框矩形
  oled.drawRect(10, 10, 40,40, WHITE );//x y x1 y1 color
  oled.display();  delay(5000);    oled.clearDisplay();//清屏
  
  //边框圆形
  oled.drawCircle(20, 200, 20, WHITE );
  oled.display();  delay(5000);    oled.clearDisplay();//清屏

//填充圆形
  oled.fillCircle(20, 20, 30, WHITE );//x  y  r   color
  oled.display();  delay(5000);    oled.clearDisplay();//清屏

    
  }

--------------------------------------------------------------------------------------------

oled.drawFastHLine(10,10,50,WHITE);//x y :坐标、 w:长度 、 color、

oled.drawFastVLine(10,10,50,WHITE);//x y :坐标、 w:长度 、 color

oled.drawLine(10,10,50,60,WHITE);//x1 y1 x2 y2 color

在这里插入图片描述


#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
 
Adafruit_SSD1306 oled(128, 64, &Wire,-1);
 
void setup()
{
 
  oled.begin(SSD1306_SWITCHCAPVCC,0x3C);

  oled.setRotation(2);
}
 
void loop() {
   
  oled.setTextColor(WHITE);//开像素点发光
  
  oled.drawFastHLine(10,10,50,WHITE);//x y :坐标、   w:长度 、  color、
  oled.display();  delay(5000);    oled.clearDisplay();//清屏

  oled.drawFastVLine(10,10,50,WHITE);//y1  y2   w   color
  oled.display();  delay(5000);    oled.clearDisplay();//清屏

  oled.drawLine(10,10,50,60,WHITE);//x1 y1 x2 y2   color
  oled.display();  delay(5000);    oled.clearDisplay();//清屏
  }

--------------------------------------------------------------------------------------------

oled.drawTriangle(10,10,20,10,15,40,WHITE); //边框三角形

oled.fillTriangle(10,10,20,10,15,40,WHITE);//x1 y1 ,x2 y2,x3 y3,color //填充三角形

oled.drawRoundRect(10,10,30,40,5,WHITE);//x, y , w, h ,r, color, //边框椭圆矩形

oled.fillRoundRect(10,10,30,40,5,WHITE);//x, y , w, h ,r, color,//填充椭圆矩形

在这里插入图片描述


#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
 
Adafruit_SSD1306 oled(128, 64, &Wire,-1);
 
void setup()
{
 
  oled.begin(SSD1306_SWITCHCAPVCC,0x3C);

  oled.setRotation(2);
}
 
void loop() {
   
  oled.setTextColor(WHITE);//开像素点发光
  
  //边框三角形
  oled.drawTriangle(10,10,20,10,15,40,WHITE);
  oled.display();  delay(5000);    oled.clearDisplay();//清屏

 //填充三角形
  oled.fillTriangle(10,10,20,10,15,40,WHITE);//x1 y1  ,x2 y2,x3 y3,color
  oled.display();  delay(5000);    oled.clearDisplay();//清屏

 //边框椭圆矩形
  oled.drawRoundRect(10,10,30,40,5,WHITE);//x, y , w, h ,r, color,
  oled.display();  delay(5000);    oled.clearDisplay();//清屏

 //填充椭圆矩形
  oled.fillRoundRect(10,10,30,40,5,WHITE);//x, y , w, h ,r, color,
  oled.display();  delay(5000);    oled.clearDisplay();//清屏
  }

3.显示汉字

3-1:用这个软件取模
https://www.jb51.net/softs/109793.html#downintro2

3-2:在文字输入框输入文字,按着Ctrl+enter 就输入进去了

3-3:在取模方式项选择C51格式生成代码
在这里插入图片描述

在这里插入图片描述

#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>

static const uint8_t PROGMEM Strong_16x16[] = {/*--  文字:  我  --*/
/*--  宋体12;  此字体下对应的点阵为:宽x高=16x16   --*/
0x04,0x40,0x0E,0x50,0x78,0x48,0x08,0x48,0x08,0x40,0xFF,0xFE,0x08,0x40,0x08,0x44,
0x0A,0x44,0x0C,0x48,0x18,0x30,0x68,0x22,0x08,0x52,0x08,0x8A,0x2B,0x06,0x10,0x02,};


static const uint8_t PROGMEM Strong1_16x16[] = {/*--  文字:  猜  --*/
/*--  宋体12;  此字体下对应的点阵为:宽x高=16x16   --*/
0x00,0x20,0x44,0x20,0x2B,0xFE,0x10,0x20,0x29,0xFC,0x48,0x20,0x8B,0xFE,0x08,0x00,
0x19,0xFC,0x29,0x04,0x49,0xFC,0x89,0x04,0x09,0xFC,0x09,0x04,0x51,0x14,0x21,0x08,};

 
Adafruit_SSD1306 oled(128, 64, &Wire,-1);
 
void setup()
{

  oled.begin(SSD1306_SWITCHCAPVCC,0x3C);
}
 
void loop() {
  oled.setRotation(1);
  oled.drawBitmap(16,16,Strong_16x16,16,16,WHITE);   //(16,16)起点坐标,
  oled.drawBitmap(16+16,16,Strong1_16x16,16,16,WHITE);   //(16,16)起点坐标,
  oled.display();  delay(5000);    oled.clearDisplay();//清屏
  }

3-1:常见问题可以跳转这个链接

https://blog.csdn.net/qq_42860728/article/details/84310160

4.显示图片bmp

4-1:在网上下载一张图片

4-2:用PS打开
修改长和高(如128X64)

4-3:另存为
在这里插入图片描述

4-4:用刚刚用到的汉字取模软件打开
C51 格式,复制粘贴到下面的代码中

4-5:显示成功
在这里插入图片描述



#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
/*--  调入了一幅图像:C:\Users\lz\Desktop\未标题-3.bmp  --*/
/*--  宽度x高度=128x64  --*/
static const uint8_t PROGMEM photo_128x64[] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3C,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7C,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7C,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFC,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0xFF,0x80,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0xFF,0x80,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0xFB,0x80,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0xF7,0x3C,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0xEE,0x7C,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x7F,0x00,0x07,0xF3,0xDC,0x7C,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x01,0xFF,0xE0,0x3F,0xFF,0xF8,0x7C,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x07,0xFF,0xF0,0x7F,0xFF,0x60,0x3C,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x0F,0xFF,0xFD,0xFF,0xFF,0x80,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x1F,0xFF,0xFF,0xFF,0xFF,0xC0,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x3F,0xFF,0xFF,0xFF,0xFF,0xC0,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x3F,0xFF,0xFF,0xFF,0xFF,0xE0,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x7F,0xFF,0xFF,0xFF,0xFF,0xF0,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0xFF,0xFF,0xF0,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0xFF,0xFF,0xF8,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x01,0xFF,0xFF,0xFF,0xFF,0xFF,0xF8,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x01,0xFF,0xFF,0xFF,0xFF,0xFF,0xFC,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x01,0xFF,0xFF,0xFF,0xFF,0xFF,0xFC,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x01,0xFF,0xFF,0xFF,0xFF,0xFF,0xFC,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x01,0xFF,0xFF,0xFF,0xFF,0xFF,0xFC,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x01,0xFF,0xFF,0xFF,0xFF,0xFF,0xFC,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x01,0xFF,0xFF,0xFF,0xFF,0xFF,0xFC,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x01,0xFF,0xFF,0xFF,0xFF,0xFF,0xFC,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x01,0xFF,0xFF,0xFF,0xFF,0xFF,0xFC,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x01,0xFF,0xFF,0xFF,0xFF,0xFF,0xFC,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x01,0xFF,0xFF,0xFF,0xFF,0xFF,0xF8,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0xFF,0xFF,0xF8,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0xFF,0xFF,0xF0,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x7F,0xFF,0xFF,0xFF,0xFF,0xF0,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x3F,0xFF,0xFF,0xFF,0xFF,0xE0,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x3F,0xFF,0xFF,0xFF,0xFF,0xE0,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x1F,0xFF,0xFF,0xFF,0xFF,0xC0,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x0F,0xFF,0xFF,0xFF,0xFF,0x80,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x07,0xFF,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x03,0xFF,0xFF,0xFF,0xFE,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x01,0xFF,0xFF,0xFF,0xFC,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0xF8,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x7F,0xFF,0xFF,0xF0,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x01,0xFF,0xFF,0xFF,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x19,0xEF,0xFF,0xFF,0x80,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x1B,0xC7,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x1F,0x83,0xFF,0xFE,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x3F,0x00,0xFF,0xF8,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x3F,0x80,0x7F,0xF0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x7F,0x80,0x3F,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x7F,0x00,0x0F,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x7C,0x00,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0xE0,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,};
 
Adafruit_SSD1306 oled(128, 64, &Wire,-1);
 
void setup()
{

  oled.begin(SSD1306_SWITCHCAPVCC,0x3C);
}
 
void loop() {
  oled.setRotation(2);
   oled.drawBitmap(0,0,photo_128x64,128,64,WHITE);   //(16,16)起点坐标,
    
  oled.display();  delay(5000);    oled.clearDisplay();//清屏
  }

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/24166.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

数字信号处理-3-函数的正交

0 导读 如果函数成正交关系&#xff0c;那么它们的积的定积分为 0。反过来说就是&#xff0c;如果两个函数相乘的定积分值为 0&#xff0c;那么称这两个函数正交。sinx 与 cosx 正交&#xff0c;sinnx 与 sinmx 正交&#xff08;m与n不相等&#xff09;&#xff0c;cosnx 与 c…

留学文书Statement of Purpose写法介绍

留学目的陈述&#xff08;Statement of Purpose, 通常简写为SOP&#xff09;是留学申请文书里的重要内容之一。通过SOP&#xff0c;目标学校可以更深入地了解申请人的留学目的以及申请人的目标是否和学校的教学理念相一致。因此&#xff0c;在撰写SOP的时候&#xff0c;申请者要…

开播客户端

OBS架构 配置数据&#xff1a;json表示 libobs接口导出&#xff1a;export、import 多线程中的缓冲队列&#xff1a;circlebuf动态循环缓冲 分层 UI > libobs > 插件 libobs C实现的&#xff0c;拥有一个全局变量控制所有事务。 视频采集渲染线程、视频编码线程&…

基于PHP+MYSQL的网上鲜花店销售系统(含论文)

鲜花在人们的生活中是一个非常重要的东西,在节假日或者一些有特殊含义的日子里人们通常会给亲朋好友或者长辈们送上一束有特殊含义的鲜花来表示自己对节日的问候,为了给人们增加鲜花的选择性和降低购买的难度我们开发了本网上鲜花店销售系统 本网上鲜花店销售系统是通过当下最流…

CorelDRAW2023安装下载教程精简版矢量绘图软件

CDR全称是CorelRAW2023&#xff0c;它不同于Photoshop&#xff0c;PS是一款图片处理软件&#xff0c;而CDR是一款较为常用的矢量绘图设计软件&#xff0c;该软件给设计师提供了矢量动画、页面设计、网站制作、位图编辑和网页动画等多种功能&#xff0c;使用的比较多的版本是202…

【读点论文】CMT: Convolutional Neural Networks Meet Vision Transformers

CMT: Convolutional Neural Networks Meet Vision Transformers Abstract 视觉transformer已经成功地应用于图像识别任务&#xff0c;因为它们能够捕获图像中的长距离依赖性。然而&#xff0c;transformer和现有卷积神经网络&#xff08;CNN&#xff09;在性能和计算成本方面仍…

Pandas太慢?快使用Vaex DataFrame,每秒数亿数据算起来 ⛵

&#x1f4a6; 作者&#xff1a;韩信子ShowMeAI &#x1f4d8; 数据分析实战系列&#xff1a;https://www.showmeai.tech/tutorials/40 &#x1f4d8; 本文地址&#xff1a;https://www.showmeai.tech/article-detail/393 &#x1f4e2; 声明&#xff1a;版权所有&#xff0c;转…

LR低代码快速开发平台 高效调整企业组织架构

组织架构以及围绕组织架构的设计、实施和变革&#xff0c;是企业管理永恒的话题&#xff0c;它上承公司的业务战略和运营模式&#xff0c;下接业务流程和信息系统建设&#xff0c;重要性不言而喻。数字化变革浪潮之下&#xff0c;商业模式的颠覆、价值链的重塑都需要由相匹配的…

解读商业智能BI,数据仓库中的元数据

之前的文章讨论过数据分析、数据治理、数据仓库等等&#xff0c;即使是非业内人员从字面意思&#xff0c;也是可以了解一二的&#xff0c;但是&#xff0c;很多人对于元数据可能就比较陌生了。那么&#xff0c;今天我们就来聊一聊元数据管理。 一、数据仓库 要说元数据&#…

IB 物理真题: 比潜热、理想气体

本题是 2017 年 IB 物理试卷 paper 2 的一道大题&#xff0c;在 SL 和 HL 的试卷中&#xff0c;这道题基本没什么区别&#xff0c;所以适用于所有考 IB 物理的学生。这道题主要涉及到了功率、比潜热、和理想气体的知识&#xff0c;具体讲了液氧蒸发成氧气的过程。如下图所示&am…

简述CompletableFuture异步任务编排

前言 在之前的项目开发中&#xff0c;都没怎么使用过CompletableFuture的功能&#xff0c;只听说过和异步编程有关。为了能够在将来有需要的时候用得上&#xff0c;这两天花了点时间学习了一下&#xff0c;并简单地总结一下如何使用CompletableFuture完成异步任务编排。 先创…

Linux20 -- 线程安全、保证线程安全的示例代码

一、线程安全 线程安全即就是在多线程运行的时候&#xff0c;不论线程的调度顺序怎样&#xff0c;最终的结果都是 一样的、正确的。那么就说这些线程是安全的。 线程安全&#xff1a;多线程程序&#xff0c;无论调度顺序咋样&#xff0c;都可以得到正确一致的结果。安全–正确…

React-fiber基础之requestAnimationFrame和requestIdleCallback

屏幕刷新率 目前大多数设备的屏幕刷新率是60次每秒浏览器渲染动画或者页面的每一帧的速率也需要根设备屏幕的刷新率保持一致页面是一帧一帧绘制出来的&#xff0c;当每秒的帧数&#xff08;FPS&#xff09;达到60&#xff0c;页面是流畅的&#xff0c;小于这个值&#xff0c;用…

公众号免费查题接口

公众号免费查题接口 本平台优点&#xff1a; 多题库查题、独立后台、响应速度快、全网平台可查、功能最全&#xff01; 1.想要给自己的公众号获得查题接口&#xff0c;只需要两步&#xff01; 2.题库&#xff1a; 查题校园题库&#xff1a;查题校园题库后台&#xff08;点击…

G1D19-DPCS KEAttacKG复现

今天先来看DP 一、DP 1044初稿完成啦~~ 创作与表达的过程总是令人心情愉悦&#xff01; 内容很多&#xff0c;所以效率还算可以啦~但是如果能把工作流程定义地更加清楚的话&#xff0c;效率应该还可以再高一点&#xff01;&#xff01;&#xff01; 二、CS KE 我发现自己网…

Layer2之争:短期看Optimism 长期看zkSync?

今天来说说 Layer2 的 OP 与 ZK 之争问题 短期 OP&#xff0c;长期 ZK&#xff1f; 这句话因为 V 神说过&#xff0c;所以被很多人认为是「金科玉律」&#xff0c;然而实际情况要复杂的多。 常见的那类比较网上已经说烂 - 即 OP 基于博弈 < ZK 基于数学 &#xff1b;O…

[CISCN2019 总决赛 Day2 Web1]Easyweb

扫目录能扫到一个robots.txt 在页面源代码发现 访问image.php.bak拿到源码 <&#xfeff;?php include "config.php";$idisset($_GET["id"])?$_GET["id"]:"1"; $pathisset($_GET["path"])?$_GET["path"]:&…

Plant Communications|高质量的基因组组装和泛基因组研究促进了绿豆的基因发现及其改进

TITLE&#xff1a;High-quality genome assembly and pan-genome studies facilitate genetic discovery in mungbean and its improvement 译名&#xff1a;高质量的基因组组装和泛基因组研究促进了绿豆的基因发现及其改进 期刊&#xff1a;Plant Communications 日期&#xf…

单卡完美复现pan++论文代码结果

源代码 1、根据源代码github地址下载代码&#xff0c;上传到服务器&#xff0c;使用服务器为3090显卡&#xff0c;cuda11.4 2、所需要的包的版本如下&#xff1a; Package Version -------------------------------- ------------------- absl-py …

【附源码】计算机毕业设计JAVA学生信息管理系统2021

【附源码】计算机毕业设计JAVA学生信息管理系统2021 目运行 环境项配置&#xff1a; Jdk1.8 Tomcat8.5 Mysql HBuilderX&#xff08;Webstorm也行&#xff09; Eclispe&#xff08;IntelliJ IDEA,Eclispe,MyEclispe,Sts都支持&#xff09;。 项目技术&#xff1a; JAVA…