代码搜索结果
找到约 8,819 项符合
RGB 的代码
rgb_led.mcs
[Header]
MagicCookie={0b13fe8c-dfe0-40eb-8900-6712719559a7}
Version=1.0
[File000]
Location=C:\EVEREST\RGB_LED\RGB_LED.obj
Folder=Intermediary
[File001]
Location=C:\EVEREST\RGB_LED\RGB_LED.cce
rgb_led.c
//include file
#include
//16F84 configuration
__CONFIG(0x3FF1);
//portb macro
#define PORTBIT(adr, bit) ((unsigned)(&adr)*8+(bit))
//portb pin assignment
static bit LED0 @ PORTB
rgb_to_luv.m
function Luv_back = Rgb_to_luv (Im_rgb, Type)
% takes an image in Rgb coords and returns either a vector or an image
% in Luv coords, depending on Type (Image or vector).
Vector = shiftdim(Im_rgb
image_rgb.m
function image_rgb(M)
% Show a matrix of integers as a color image.
% This is like imagesc, except we know what the mapping is from integer to color.
% If entries of M contain integers in {1,2,3},
rgb1.c
//mozne hodnoty promennych: h = , s = , v =
// rgb jsou komparacni registry PWM kanalu
#define r OCR1A
#define g OCR2
#define b OCR1B
// ---------------------------
rgb2.c
//mozne hodnoty promennych: h = , s = , v =
// rgb jsou komparacni registry PWM kanalu
#define r OCR1A
#define g OCR2
#define b OCR1B
// ---------------------------
yuv_rgb.v
module yuv_rgb (clock,clocken,reset,y,cr,cb,r,g,b);
input clock,clocken,reset;
input [7:0] y,cr,cb;
output reg [7:0] r,g,b;
reg [7:0] y1,cr1,cb1;
wire [7:0] r_sig;
wire [7:0] g_sig;
wire [7
yuv_rgb.v
module yuv_rgb (clock,clocken,reset,y,cr,cb,r,g,b);
input clock,clocken,reset;
input [7:0] y,cr,cb;
output reg [7:0] r,g,b;
reg [7:0] y1,cr1,cb1;
wire [7:0] r_sig;
wire [7:0] g_sig;
wire [7