diff --git a/docs/hardware/en/tang/Tang-Nano-1K/examples/lcd.md b/docs/hardware/en/tang/Tang-Nano-1K/examples/lcd.md index c26ed978..469cc50b 100644 --- a/docs/hardware/en/tang/Tang-Nano-1K/examples/lcd.md +++ b/docs/hardware/en/tang/Tang-Nano-1K/examples/lcd.md @@ -184,27 +184,27 @@ assign LCD_DE = ( ( PixelCount >= H_BackPorch )&& - This code generates color bars to test LCD ```verilog -assign LCD_R = (PixelCount<200)? 5'b00000 : - (PixelCount<240 ? 5'b00001 : - (PixelCount<280 ? 5'b00010 : - (PixelCount<320 ? 5'b00100 : - (PixelCount<360 ? 5'b01000 : - (PixelCount<400 ? 5'b10000 : 5'b00000 ))))); + localparam Colorbar_width = WidthPixel / 16; -assign LCD_G = (PixelCount<400)? 6'b000000 : - (PixelCount<440 ? 6'b000001 : - (PixelCount<480 ? 6'b000010 : - (PixelCount<520 ? 6'b000100 : - (PixelCount<560 ? 6'b001000 : - (PixelCount<600 ? 6'b010000 : - (PixelCount<640 ? 6'b100000 : 6'b000000 )))))); + assign LCD_R = ( PixelCount < ( H_BackPorch + Colorbar_width * 0 )) ? 5'b00000 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 1 )) ? 5'b00001 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 2 )) ? 5'b00010 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 3 )) ? 5'b00100 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 4 )) ? 5'b01000 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 5 )) ? 5'b10000 : 5'b00000; -assign LCD_B = (PixelCount<640)? 5'b00000 : - (PixelCount<680 ? 5'b00001 : - (PixelCount<720 ? 5'b00010 : - (PixelCount<760 ? 5'b00100 : - (PixelCount<800 ? 5'b01000 : - (PixelCount<840 ? 5'b10000 : 5'b00000 ))))); + assign LCD_G = ( PixelCount < ( H_BackPorch + Colorbar_width * 6 )) ? 6'b000001: + ( PixelCount < ( H_BackPorch + Colorbar_width * 7 )) ? 6'b000010: + ( PixelCount < ( H_BackPorch + Colorbar_width * 8 )) ? 6'b000100: + ( PixelCount < ( H_BackPorch + Colorbar_width * 9 )) ? 6'b001000: + ( PixelCount < ( H_BackPorch + Colorbar_width * 10 )) ? 6'b010000: + ( PixelCount < ( H_BackPorch + Colorbar_width * 11 )) ? 6'b100000: 6'b000000; + + assign LCD_B = ( PixelCount < ( H_BackPorch + Colorbar_width * 12 )) ? 5'b00001 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 13 )) ? 5'b00010 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 14 )) ? 5'b00100 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 15 )) ? 5'b01000 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 16 )) ? 5'b10000 : 5'b00000; ``` **Do not forget to add endmodule in the end of the driver file** diff --git a/docs/hardware/en/tang/Tang-Nano-9K/examples/rgb_screen.md b/docs/hardware/en/tang/Tang-Nano-9K/examples/rgb_screen.md index 928daa29..f0bbecbc 100644 --- a/docs/hardware/en/tang/Tang-Nano-9K/examples/rgb_screen.md +++ b/docs/hardware/en/tang/Tang-Nano-9K/examples/rgb_screen.md @@ -184,27 +184,27 @@ assign LCD_DE = ( ( PixelCount >= H_BackPorch )&& - This code generate color bars to test LCD ```verilog -assign LCD_R = (PixelCount<200)? 5'b00000 : - (PixelCount<240 ? 5'b00001 : - (PixelCount<280 ? 5'b00010 : - (PixelCount<320 ? 5'b00100 : - (PixelCount<360 ? 5'b01000 : - (PixelCount<400 ? 5'b10000 : 5'b00000 ))))); + localparam Colorbar_width = WidthPixel / 16; -assign LCD_G = (PixelCount<400)? 6'b000000 : - (PixelCount<440 ? 6'b000001 : - (PixelCount<480 ? 6'b000010 : - (PixelCount<520 ? 6'b000100 : - (PixelCount<560 ? 6'b001000 : - (PixelCount<600 ? 6'b010000 : - (PixelCount<640 ? 6'b100000 : 6'b000000 )))))); + assign LCD_R = ( PixelCount < ( H_BackPorch + Colorbar_width * 0 )) ? 5'b00000 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 1 )) ? 5'b00001 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 2 )) ? 5'b00010 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 3 )) ? 5'b00100 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 4 )) ? 5'b01000 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 5 )) ? 5'b10000 : 5'b00000; -assign LCD_B = (PixelCount<640)? 5'b00000 : - (PixelCount<680 ? 5'b00001 : - (PixelCount<720 ? 5'b00010 : - (PixelCount<760 ? 5'b00100 : - (PixelCount<800 ? 5'b01000 : - (PixelCount<840 ? 5'b10000 : 5'b00000 ))))); + assign LCD_G = ( PixelCount < ( H_BackPorch + Colorbar_width * 6 )) ? 6'b000001: + ( PixelCount < ( H_BackPorch + Colorbar_width * 7 )) ? 6'b000010: + ( PixelCount < ( H_BackPorch + Colorbar_width * 8 )) ? 6'b000100: + ( PixelCount < ( H_BackPorch + Colorbar_width * 9 )) ? 6'b001000: + ( PixelCount < ( H_BackPorch + Colorbar_width * 10 )) ? 6'b010000: + ( PixelCount < ( H_BackPorch + Colorbar_width * 11 )) ? 6'b100000: 6'b000000; + + assign LCD_B = ( PixelCount < ( H_BackPorch + Colorbar_width * 12 )) ? 5'b00001 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 13 )) ? 5'b00010 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 14 )) ? 5'b00100 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 15 )) ? 5'b01000 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 16 )) ? 5'b10000 : 5'b00000; ``` **Do not forget to add endmodule in the end of the driver file** diff --git a/docs/hardware/en/tang/Tang-Nano/examples/lcd.md b/docs/hardware/en/tang/Tang-Nano/examples/lcd.md index 4c994897..6a085800 100644 --- a/docs/hardware/en/tang/Tang-Nano/examples/lcd.md +++ b/docs/hardware/en/tang/Tang-Nano/examples/lcd.md @@ -183,28 +183,28 @@ assign LCD_DE = ( ( PixelCount >= H_BackPorch )&& - This code generates color bars to test LCD -```verilog -assign LCD_R = (PixelCount<200)? 5'b00000 : - (PixelCount<240 ? 5'b00001 : - (PixelCount<280 ? 5'b00010 : - (PixelCount<320 ? 5'b00100 : - (PixelCount<360 ? 5'b01000 : - (PixelCount<400 ? 5'b10000 : 5'b00000 ))))); +```verilog + localparam Colorbar_width = WidthPixel / 16; -assign LCD_G = (PixelCount<400)? 6'b000000 : - (PixelCount<440 ? 6'b000001 : - (PixelCount<480 ? 6'b000010 : - (PixelCount<520 ? 6'b000100 : - (PixelCount<560 ? 6'b001000 : - (PixelCount<600 ? 6'b010000 : - (PixelCount<640 ? 6'b100000 : 6'b000000 )))))); + assign LCD_R = ( PixelCount < ( H_BackPorch + Colorbar_width * 0 )) ? 5'b00000 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 1 )) ? 5'b00001 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 2 )) ? 5'b00010 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 3 )) ? 5'b00100 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 4 )) ? 5'b01000 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 5 )) ? 5'b10000 : 5'b00000; -assign LCD_B = (PixelCount<640)? 5'b00000 : - (PixelCount<680 ? 5'b00001 : - (PixelCount<720 ? 5'b00010 : - (PixelCount<760 ? 5'b00100 : - (PixelCount<800 ? 5'b01000 : - (PixelCount<840 ? 5'b10000 : 5'b00000 ))))); + assign LCD_G = ( PixelCount < ( H_BackPorch + Colorbar_width * 6 )) ? 6'b000001: + ( PixelCount < ( H_BackPorch + Colorbar_width * 7 )) ? 6'b000010: + ( PixelCount < ( H_BackPorch + Colorbar_width * 8 )) ? 6'b000100: + ( PixelCount < ( H_BackPorch + Colorbar_width * 9 )) ? 6'b001000: + ( PixelCount < ( H_BackPorch + Colorbar_width * 10 )) ? 6'b010000: + ( PixelCount < ( H_BackPorch + Colorbar_width * 11 )) ? 6'b100000: 6'b000000; + + assign LCD_B = ( PixelCount < ( H_BackPorch + Colorbar_width * 12 )) ? 5'b00001 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 13 )) ? 5'b00010 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 14 )) ? 5'b00100 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 15 )) ? 5'b01000 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 16 )) ? 5'b10000 : 5'b00000; ``` **Do not forget to add endmodule in the end of the driver file** diff --git a/docs/hardware/zh/tang/Tang-Nano-1K/examples/LCD.md b/docs/hardware/zh/tang/Tang-Nano-1K/examples/LCD.md index 0f207726..ed134b0f 100644 --- a/docs/hardware/zh/tang/Tang-Nano-1K/examples/LCD.md +++ b/docs/hardware/zh/tang/Tang-Nano-1K/examples/LCD.md @@ -181,27 +181,27 @@ assign LCD_DE = ( ( PixelCount >= H_BackPorch )&& 这段代码用来产生 LCD 的测试数据,产生彩条显示 ```verilog -assign LCD_R = (PixelCount<200)? 5'b00000 : - (PixelCount<240 ? 5'b00001 : - (PixelCount<280 ? 5'b00010 : - (PixelCount<320 ? 5'b00100 : - (PixelCount<360 ? 5'b01000 : - (PixelCount<400 ? 5'b10000 : 5'b00000 ))))); + localparam Colorbar_width = WidthPixel / 16; -assign LCD_G = (PixelCount<400)? 6'b000000 : - (PixelCount<440 ? 6'b000001 : - (PixelCount<480 ? 6'b000010 : - (PixelCount<520 ? 6'b000100 : - (PixelCount<560 ? 6'b001000 : - (PixelCount<600 ? 6'b010000 : - (PixelCount<640 ? 6'b100000 : 6'b000000 )))))); + assign LCD_R = ( PixelCount < ( H_BackPorch + Colorbar_width * 0 )) ? 5'b00000 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 1 )) ? 5'b00001 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 2 )) ? 5'b00010 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 3 )) ? 5'b00100 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 4 )) ? 5'b01000 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 5 )) ? 5'b10000 : 5'b00000; -assign LCD_B = (PixelCount<640)? 5'b00000 : - (PixelCount<680 ? 5'b00001 : - (PixelCount<720 ? 5'b00010 : - (PixelCount<760 ? 5'b00100 : - (PixelCount<800 ? 5'b01000 : - (PixelCount<840 ? 5'b10000 : 5'b00000 ))))); + assign LCD_G = ( PixelCount < ( H_BackPorch + Colorbar_width * 6 )) ? 6'b000001: + ( PixelCount < ( H_BackPorch + Colorbar_width * 7 )) ? 6'b000010: + ( PixelCount < ( H_BackPorch + Colorbar_width * 8 )) ? 6'b000100: + ( PixelCount < ( H_BackPorch + Colorbar_width * 9 )) ? 6'b001000: + ( PixelCount < ( H_BackPorch + Colorbar_width * 10 )) ? 6'b010000: + ( PixelCount < ( H_BackPorch + Colorbar_width * 11 )) ? 6'b100000: 6'b000000; + + assign LCD_B = ( PixelCount < ( H_BackPorch + Colorbar_width * 12 )) ? 5'b00001 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 13 )) ? 5'b00010 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 14 )) ? 5'b00100 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 15 )) ? 5'b01000 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 16 )) ? 5'b10000 : 5'b00000; ``` diff --git a/docs/hardware/zh/tang/Tang-Nano-9K/examples/LCD.md b/docs/hardware/zh/tang/Tang-Nano-9K/examples/LCD.md index 7165cdc5..7ec5c375 100644 --- a/docs/hardware/zh/tang/Tang-Nano-9K/examples/LCD.md +++ b/docs/hardware/zh/tang/Tang-Nano-9K/examples/LCD.md @@ -184,27 +184,27 @@ assign LCD_DE = ( ( PixelCount >= H_BackPorch )&& - 这段代码用来产生 LCD 的测试数据,产生彩条显示 ```verilog -assign LCD_R = (PixelCount<200)? 5'b00000 : - (PixelCount<240 ? 5'b00001 : - (PixelCount<280 ? 5'b00010 : - (PixelCount<320 ? 5'b00100 : - (PixelCount<360 ? 5'b01000 : - (PixelCount<400 ? 5'b10000 : 5'b00000 ))))); + localparam Colorbar_width = WidthPixel / 16; -assign LCD_G = (PixelCount<400)? 6'b000000 : - (PixelCount<440 ? 6'b000001 : - (PixelCount<480 ? 6'b000010 : - (PixelCount<520 ? 6'b000100 : - (PixelCount<560 ? 6'b001000 : - (PixelCount<600 ? 6'b010000 : - (PixelCount<640 ? 6'b100000 : 6'b000000 )))))); + assign LCD_R = ( PixelCount < ( H_BackPorch + Colorbar_width * 0 )) ? 5'b00000 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 1 )) ? 5'b00001 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 2 )) ? 5'b00010 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 3 )) ? 5'b00100 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 4 )) ? 5'b01000 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 5 )) ? 5'b10000 : 5'b00000; -assign LCD_B = (PixelCount<640)? 5'b00000 : - (PixelCount<680 ? 5'b00001 : - (PixelCount<720 ? 5'b00010 : - (PixelCount<760 ? 5'b00100 : - (PixelCount<800 ? 5'b01000 : - (PixelCount<840 ? 5'b10000 : 5'b00000 ))))); + assign LCD_G = ( PixelCount < ( H_BackPorch + Colorbar_width * 6 )) ? 6'b000001: + ( PixelCount < ( H_BackPorch + Colorbar_width * 7 )) ? 6'b000010: + ( PixelCount < ( H_BackPorch + Colorbar_width * 8 )) ? 6'b000100: + ( PixelCount < ( H_BackPorch + Colorbar_width * 9 )) ? 6'b001000: + ( PixelCount < ( H_BackPorch + Colorbar_width * 10 )) ? 6'b010000: + ( PixelCount < ( H_BackPorch + Colorbar_width * 11 )) ? 6'b100000: 6'b000000; + + assign LCD_B = ( PixelCount < ( H_BackPorch + Colorbar_width * 12 )) ? 5'b00001 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 13 )) ? 5'b00010 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 14 )) ? 5'b00100 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 15 )) ? 5'b01000 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 16 )) ? 5'b10000 : 5'b00000; ``` **当然在最后的驱动文件最后别忘记换行加上 endmodule** diff --git a/docs/hardware/zh/tang/Tang-Nano/examples/2_lcd.md b/docs/hardware/zh/tang/Tang-Nano/examples/2_lcd.md index c8c7e94a..356723ad 100644 --- a/docs/hardware/zh/tang/Tang-Nano/examples/2_lcd.md +++ b/docs/hardware/zh/tang/Tang-Nano/examples/2_lcd.md @@ -194,27 +194,27 @@ assign LCD_DE = ( ( PixelCount >= H_BackPorch )&& - 这段代码用来产生 LCD 的测试数据,产生彩条显示 ```verilog -assign LCD_R = (PixelCount<200)? 5'b00000 : - (PixelCount<240 ? 5'b00001 : - (PixelCount<280 ? 5'b00010 : - (PixelCount<320 ? 5'b00100 : - (PixelCount<360 ? 5'b01000 : - (PixelCount<400 ? 5'b10000 : 5'b00000 ))))); + localparam Colorbar_width = WidthPixel / 16; -assign LCD_G = (PixelCount<400)? 6'b000000 : - (PixelCount<440 ? 6'b000001 : - (PixelCount<480 ? 6'b000010 : - (PixelCount<520 ? 6'b000100 : - (PixelCount<560 ? 6'b001000 : - (PixelCount<600 ? 6'b010000 : - (PixelCount<640 ? 6'b100000 : 6'b000000 )))))); + assign LCD_R = ( PixelCount < ( H_BackPorch + Colorbar_width * 0 )) ? 5'b00000 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 1 )) ? 5'b00001 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 2 )) ? 5'b00010 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 3 )) ? 5'b00100 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 4 )) ? 5'b01000 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 5 )) ? 5'b10000 : 5'b00000; -assign LCD_B = (PixelCount<640)? 5'b00000 : - (PixelCount<680 ? 5'b00001 : - (PixelCount<720 ? 5'b00010 : - (PixelCount<760 ? 5'b00100 : - (PixelCount<800 ? 5'b01000 : - (PixelCount<840 ? 5'b10000 : 5'b00000 ))))); + assign LCD_G = ( PixelCount < ( H_BackPorch + Colorbar_width * 6 )) ? 6'b000001: + ( PixelCount < ( H_BackPorch + Colorbar_width * 7 )) ? 6'b000010: + ( PixelCount < ( H_BackPorch + Colorbar_width * 8 )) ? 6'b000100: + ( PixelCount < ( H_BackPorch + Colorbar_width * 9 )) ? 6'b001000: + ( PixelCount < ( H_BackPorch + Colorbar_width * 10 )) ? 6'b010000: + ( PixelCount < ( H_BackPorch + Colorbar_width * 11 )) ? 6'b100000: 6'b000000; + + assign LCD_B = ( PixelCount < ( H_BackPorch + Colorbar_width * 12 )) ? 5'b00001 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 13 )) ? 5'b00010 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 14 )) ? 5'b00100 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 15 )) ? 5'b01000 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 16 )) ? 5'b10000 : 5'b00000; ``` diff --git a/docs/soft/Tang/zh/Tang-Nano-Doc/examples/2_lcd.md b/docs/soft/Tang/zh/Tang-Nano-Doc/examples/2_lcd.md index d4bf65e5..d1425d84 100644 --- a/docs/soft/Tang/zh/Tang-Nano-Doc/examples/2_lcd.md +++ b/docs/soft/Tang/zh/Tang-Nano-Doc/examples/2_lcd.md @@ -106,28 +106,28 @@ assign LCD_DE = ( ( PixelCount >= H_BackPorch )&& 这段代码设置 LCD 使能图像显示,这块屏幕需要控制一个管脚用作显示开关,实际这个信号就是传输图像有效的那 800*480 的数据时置 1 -``` -assign LCD_R = (PixelCount<200)? 5'b00000 : - (PixelCount<240 ? 5'b00001 : - (PixelCount<280 ? 5'b00010 : - (PixelCount<320 ? 5'b00100 : - (PixelCount<360 ? 5'b01000 : - (PixelCount<400 ? 5'b10000 : 5'b00000 ))))); +```verilog + localparam Colorbar_width = WidthPixel / 16; -assign LCD_G = (PixelCount<400)? 6'b000000 : - (PixelCount<440 ? 6'b000001 : - (PixelCount<480 ? 6'b000010 : - (PixelCount<520 ? 6'b000100 : - (PixelCount<560 ? 6'b001000 : - (PixelCount<600 ? 6'b010000 : - (PixelCount<640 ? 6'b100000 : 6'b000000 )))))); + assign LCD_R = ( PixelCount < ( H_BackPorch + Colorbar_width * 0 )) ? 5'b00000 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 1 )) ? 5'b00001 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 2 )) ? 5'b00010 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 3 )) ? 5'b00100 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 4 )) ? 5'b01000 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 5 )) ? 5'b10000 : 5'b00000; -assign LCD_B = (PixelCount<640)? 5'b00000 : - (PixelCount<680 ? 5'b00001 : - (PixelCount<720 ? 5'b00010 : - (PixelCount<760 ? 5'b00100 : - (PixelCount<800 ? 5'b01000 : - (PixelCount<840 ? 5'b10000 : 5'b00000 ))))); + assign LCD_G = ( PixelCount < ( H_BackPorch + Colorbar_width * 6 )) ? 6'b000001: + ( PixelCount < ( H_BackPorch + Colorbar_width * 7 )) ? 6'b000010: + ( PixelCount < ( H_BackPorch + Colorbar_width * 8 )) ? 6'b000100: + ( PixelCount < ( H_BackPorch + Colorbar_width * 9 )) ? 6'b001000: + ( PixelCount < ( H_BackPorch + Colorbar_width * 10 )) ? 6'b010000: + ( PixelCount < ( H_BackPorch + Colorbar_width * 11 )) ? 6'b100000: 6'b000000; + + assign LCD_B = ( PixelCount < ( H_BackPorch + Colorbar_width * 12 )) ? 5'b00001 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 13 )) ? 5'b00010 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 14 )) ? 5'b00100 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 15 )) ? 5'b01000 : + ( PixelCount < ( H_BackPorch + Colorbar_width * 16 )) ? 5'b10000 : 5'b00000; ``` 这段代码用来产生 LCD 的测试数据,产生彩条显示 diff --git a/layout/home.html b/layout/home.html index 2ff4c771..b04f38d2 100644 --- a/layout/home.html +++ b/layout/home.html @@ -1172,7 +1172,7 @@ other_href: window.location.origin + "/hardware/zh/maixsense/maixsense-a010/maixsense-a010.html#%E4%BA%8C%E6%AC%A1%E5%BC%80%E5%8F%91%EF%BC%9A%E6%8E%A5%E5%85%A5-ROS", lbtn_text: "btn_github", lbtn_href: "https://github.com/sipeed/MaixSense_ROS", - rbtn_text: "V075v ROS", + rbtn_text: "A075v ROS", rbtn_href: window.location.origin + "/hardware/zh/maixsense/maixsense-a075v/maixsense-a075v.html#%E4%BA%8C%E6%AC%A1%E5%BC%80%E5%8F%91%EF%BC%9A%E6%8E%A5%E5%85%A5-ROS", }, { @@ -1465,7 +1465,7 @@ "MAIX-Zero & I (BL)":[ { title: "M0S (BL616)", - src: "//gd4.alicdn.com/imgextra/i4/2200606237318/O1CN01DVo8PB23vhDTmmfbx_!!2200606237318.jpg", + src: "https://gd4.alicdn.com/imgextra/i4/2200606237318/O1CN01DVo8PB23vhDTmmfbx_!!2200606237318.jpg", lbtn_text: "btn_buy", lbtn_href: "https://www.aliexpress.com/item/1005005142466936.html", rbtn_text: "btn_detail", @@ -1686,7 +1686,7 @@ other_href: window.location.origin + "/hardware/en/maixsense/maixsense-a010/maixsense-a010.html#Secondary-development%3AAccess-ROS", lbtn_text: "btn_github", lbtn_href: "https://github.com/sipeed/MaixSense_ROS", - rbtn_text: "V075v ROS", + rbtn_text: "A075v ROS", rbtn_href: window.location.origin + "/hardware/en/maixsense/maixsense-a075v/maixsense-a075v.html#Use-ROS", }, {