This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Simple rainbow test image generator | |
* By Roger Clark | |
* www.rogerclark.net | |
*/ | |
typedef struct | |
{ | |
unsigned char r; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function removeTextBeforeEndOf($str,$findme) | |
{ | |
return substr($str,(strpos($str,$findme)+strlen($findme))); | |
} | |
$csvFile =""; | |
$offsetID= 0; | |
$foundEnd=false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Very simple python program view BMP images sent via Serial from Arduino or other microcontoller boards | |
# The program sents the charachter '0' to Serial, to trigger the Arduino board to send the image. | |
# Only tested with 320x240 pixel images. | |
# Change root.geometry('320x280') to some other size if your image is bigger | |
# Requires Python 2.7 - probably won't work in Python 3 without changes | |
# Requires Pillow (PIL) image library. Install using pip install Pillow from your command line. | |
from Tkinter import * | |
import Tkinter, Tkconstants, tkFileDialog |