This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
docs:blox:examples-display [2024/08/26 17:22] admin created |
docs:blox:examples-display [2024/08/27 12:10] (current) admin |
||
---|---|---|---|
Line 7: | Line 7: | ||
==== 6.4.8.1 Wiring the display ==== | ==== 6.4.8.1 Wiring the display ==== | ||
- | ==== 6.4.8.1 Initialize the display ==== | + | I2C Based OLEDs (SSD1306/ |
- | ==== 6.4.8.1 Clear the display ==== | + | {{: |
- | ==== 6.4.8.1 Draw graphics elements on the display ==== | + | ---- |
- | ==== 6.4.8.1 Draw Images on the display ==== | + | ==== 6.4.8.2 Initialize |
- | ==== 6.4.8.1 Draw Bitmaps on the display | + | Initialize |
- | ==== 6.4.8.1 Monitor Sensor values on the display ==== | + | {{: |
+ | ---- | ||
+ | ==== 6.4.8.3 Clear the display ==== | ||
+ | |||
+ | Whenever you are ready to draw a new screen, you can clear the display | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== 6.4.8.4 Draw graphics elements on the display ==== | ||
+ | |||
+ | You can draw various elements, on their own or even better combine them together. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== 6.4.8.5 Draw Images on the display ==== | ||
+ | |||
+ | BLOX toolbox includes a Draw Custom Image block | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Click the DRAW button and use your mouse to draw your own custom icons and graphics. You can change the size of the canvas as well for larger icons | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== 6.4.8.6 Draw Bitmaps on the display ==== | ||
+ | |||
+ | BLOX toolbox includes a Display Bitmap File block. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Click on UPLOAD IMAGE to upload your images and convert them | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Click on Open Image to select the file, then play around with the settings sliders to get the desired effect | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== 6.4.8.7 Monitor Sensor values on the display ==== | ||
+ | |||
+ | BLOX includes two special blocks to monitor analog sensor values in real time on a display. You can use the Guage or Oscilloscope to display a sensor' | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ^ Gauge View ^ Oscilloscope View ^ | ||
+ | | {{: | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== 6.4.8.8 Printing Text ==== | ||
+ | |||
+ | You can also print text | ||
+ | |||
+ | {{: | ||