Skip to content

Instantly share code, notes, and snippets.

View Dasch0's full-sized avatar

David Schwarz Dasch0

  • Edge Impulse
  • Austin, Texas
View GitHub Profile
@rogerclarkmelbourne
rogerclarkmelbourne / BMP_image_from_arduino.py
Created September 29, 2017 22:05
Simple BMP image viewer written in Python to view images sent via serial from an Arduino etc
# 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