![]() Many drawing and writing primitives are provided: single pixel plotting, lines, circles, triangles, rectangles (with square and rounded corners), and corresponding filled shapes. A simple project combining text, graphics, analog input and asynchronous timed operations.In this Instructable I am going to show you how to set it up and load the essential Libraries, explain the commands needed to program it and provide three example sketches: It can be powered directly from the Arduino with 5V and GND. It is an I2C device, and only uses two of the data pins, A4 and A5. It is widely available from a variety of outlets, including Adafruit, who provide many of the libraries we will be using. I would not be without it and have bought several as they are cheap enough to leave embedded in projects. This OLED (organic light-emitting diode) device is a very clear, inexpensive mono digital display and is a very useful addition to an Arduino user’s collection of parts. The SSD1306 may be small, only 0.96 inch on the diagonal, but it is much more useful and only SCL and SDA have to be connected. Most go for the simple version that ties up many of their digital I/O lines and buy a device which is built for text but cannot display a graph or geometrical shape. They are easily available, inexpensive and there are plenty of guides to help set them up. Many opt for a two-line 1602 LCD display. Most Arduino owners soon decide that they would like to output text and results to a screen from their projects. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |