HomeHardwareBuyGet StartedLearningReferencePlaygroundDiscoverNewsDownloadForum
VGA
Gets color of a pixel.
VGA.getPixel( x, y )
x - x coordinate of pixely - y coordinate of pixel
Color of a pixel
typedef unsigned char pixel_t;int num = 5;int i;int x = 0;int y = 0;pixel_t pix[num];for( i=0; i<num; i++){
}