Skip to content

Commit 86cc792

Browse files
committed
2 parents f6e7cd5 + 93efc99 commit 86cc792

File tree

545 files changed

+129668
-100807
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

545 files changed

+129668
-100807
lines changed

README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44

55
![](https://www.crowdsupply.com/img/cf95/compare-peripheral_jpg_project-body.jpg)
66

7-
Arduino library for all-in-one e-paper display family named Inkplate can be found in this repo. Inkplate is a series of powerful, Wi-Fi enabled ESP32-based e-paper display products. Its main feature is simplicity. Just plug in a USB cable, open Arduino IDE, and change the contents of the screen with few lines of code. Inkplate family currently includes Inkplate 10, Inkplate 6 and Inkplate 6PLUS - learn more about Inkplates on [official website](https://inkplate.io/).
7+
Arduino library for all-in-one e-paper display family named Inkplate can be found in this repo. Inkplate is a series of powerful, Wi-Fi enabled ESP32-based e-paper display products. Its main feature is simplicity. Just plug in a USB cable, open Arduino IDE, and change the contents of the screen with few lines of code. Inkplate family currently includes Inkplate 10, Inkplate 6 and Inkplate 6PLUS - learn more about Inkplates on [official website](https://inkplate.io/).
88
Inkplate 6 was crowdfunded on [Crowd Supply](https://www.crowdsupply.com/e-radionica/inkplate-6), as well as [Inkplate 10]([https://www.crowdsupply.com/e-radionica/inkplate-10). [Inkplate 6PLUS](https://www.crowdsupply.com/e-radionica/inkplate-6plus) is funding now.
99

1010
### Setting up Inkplate in Arduino IDE
1111

1212
In order to get a head start with Inkplate (any), follow these steps:
1313

14-
1. [Install Inkplate board definition](https://github.com/e-radionicacom/Croduino-Board-Definitions-for-Arduino-IDE/blob/master/README.md) - add Inkplate 6/10/6PLUS as a board into your Arduino IDE. Follow the instructions on the [link](https://e-radionica.com/en/blog/add-inkplate-6-to-arduino-ide/).
14+
1. [Install Inkplate board definition](https://github.com/SolderedElectronics/Croduino-Board-Definitions-for-Arduino-IDE/blob/master/README.md) - add Inkplate 6/10/6PLUS as a board into your Arduino IDE. Follow the instructions on the [link](https://e-radionica.com/en/blog/add-inkplate-6-to-arduino-ide/).
1515
2. Install CH340 drivers (if you don't have them yet) - instructions [here](https://e-radionica.com/en/blog/ch340-driver-installation-croduino-basic3-nova2/)
1616
3. Install Inkplate Arduino library - install the library from this repo into your Arduino IDE. If you don't know how, check our [tutorial](https://e-radionica.com/en/blog/arduino-library/#Kako%20instaliraty%20library?).
1717
4. You are ready to get started! Select Tools -> Board -> Inkplate (pick correct one), as well as correct COM port and upload!
@@ -22,8 +22,7 @@ There are many examples in the library that you demonstrate how to use any of th
2222

2323
### Documentation
2424

25-
Find Inkplate documentation [here](https://inkplate.readthedocs.io/en/latest/arduino.html).
26-
25+
Find Inkplate documentation [here](https://inkplate.readthedocs.io/en/latest/arduino.html).
2726

2827
### Using Inkplate 6 with another microcontroller - Peripheral mode
2928

@@ -47,7 +46,7 @@ apt install python-is-python3
4746

4847
### Micropython
4948

50-
If you are looking for micropython support, please find all details [here](https://github.com/e-radionicacom/Inkplate-micropython).
49+
If you are looking for micropython support, please find all details [here](https://github.com/SolderedElectronics/Inkplate-micropython).
5150

5251
### License
5352

@@ -57,9 +56,9 @@ This repo uses the source code from another repositories. All their license file
5756

5857
All of Inkplate-related development is open-sourced:
5958

60-
- [Arduino library](https://github.com/e-radionicacom/Inkplate-6-Arduino-library)
61-
- Hardware design: [Inkplate 6](https://github.com/e-radionicacom/Inkplate-6-hardware), [Inkplate 10](https://github.com/e-radionicacom/Inkplate-10-hardware)
62-
- [micropython Inkplate](https://github.com/e-radionicacom/Inkplate-6-micropython)
59+
- [Arduino library](https://github.com/SolderedElectronics/Inkplate-6-Arduino-library)
60+
- Hardware design: [Inkplate 6](https://github.com/SolderedElectronics/Inkplate-6-hardware), [Inkplate 10](https://github.com/SolderedElectronics/Inkplate-10-hardware)
61+
- [micropython Inkplate](https://github.com/SolderedElectronics/Inkplate-6-micropython)
6362
- OSHWA cerfiticate: [Inkplate 6](https://certification.oshwa.org/hr000003.html), [Inkplate 10](https://certification.oshwa.org/hr000006.html)
6463

6564
### Where to buy & other
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
/*
2+
Inkplate_Picture_From_RAM example for soldered.com Inkplate 10
3+
For this example you will need USB cable and Inkplate 10.
4+
Select "Inkplate 10(ESP32)" from Tools -> Board menu.
5+
Don't have "Inkplate 10(ESP32)" option? Follow our tutorial and add it:
6+
https://e-radionica.com/en/blog/add-inkplate-6-to-arduino-ide/
7+
8+
This example will show you how you can show picture loaded in RAM.
9+
Inkplate can show picture in 1-bit or 3-bit mode.
10+
Inkplate will wake every 20 seconds change content on screen.
11+
12+
Want to learn more about Inkplate? Visit www.inkplate.io
13+
Looking to get support? Write on our forums: http://forum.e-radionica.com/en/
14+
13 June 2022 by soldered.com
15+
*/
16+
17+
// Next 3 lines are a precaution, you can ignore those, and the example would also work without them
18+
#ifndef ARDUINO_INKPLATE10
19+
#error "Wrong board selection for this example, please select Inkplate 10 in the boards menu."
20+
#endif
21+
22+
#include "Inkplate.h" // Include Inkplate library to the sketch
23+
#include "picture1.h" // Include .h files of 3 pictures. All three pictures were converted using Inkplate Image Converter
24+
#include "picture2.h"
25+
#include "picture3.h" // This are headers in which are saved pictures that needs to be stored in RAM for showing.
26+
// Any picture (in any format) can be converted in this type of header on this link:
27+
// https://inkplate.io/home/image-converter/ just choose settings for your Inkplate
28+
// and additional settings like dither and bit mode.
29+
30+
Inkplate display(INKPLATE_3BIT); // Create an object on Inkplate library and also set library into 3 Bit mode (gray)
31+
32+
void setup()
33+
{
34+
Serial.begin(115200);
35+
display.begin(); // Init Inkplate library (you should call this function ONLY ONCE)
36+
display.clearDisplay(); // Clear frame buffer of display
37+
38+
display.drawImage(
39+
picture1, 50, 0, 1100,
40+
825); // Display picture from RAM at location X=50, Y=0. It is also needed to specify width and height
41+
// of picture (1100x825 in this case). drawImage function iis overloaded function and this parameters
42+
// specify to use function which draws image on screen from internal RAM and this function calls other
43+
// functions (drawBitmap or drawBitmap3Bit depends in which mode is Inkplate (INKPLATE_3BIT or INKPLATE_1BIT))
44+
// which draws content from buffer in RAM.
45+
display.display(); // Refresh the screen with new picture
46+
47+
delay(10000); // Wait a bit
48+
49+
display.clearDisplay(); // Clear frame buffer of display
50+
51+
display.drawBitmap3Bit(
52+
50, 0, picture2, 1100,
53+
825); // This function is called automatically from drawImage if first parameter is
54+
// pointer to buffer in which picture is stored and Inkplate is in 3-bit mode.
55+
// In this example we are using this function only to show it's functionality
56+
// and to show that this function can be used if you have problems with showing
57+
// 3-bit pictures on Inkplate.
58+
59+
display.display(); // Refresh the screen with new picture
60+
61+
delay(10000); // Wait a bit
62+
63+
display.clearDisplay(); // Clear frame buffer of display
64+
65+
display.drawBitmap3Bit(
66+
50, 0, picture3, 1100,
67+
825); // Display selected picture at location X=0, Y=0. All three pictures have resolution of 1100x825 pixels
68+
69+
display.display(); // Refresh the screen with new picture
70+
}
71+
72+
void loop()
73+
{
74+
// Nothing! If you use deep sleep, whole program should be in setup() because each time the board restarts, not in a
75+
// loop()! loop() must be empty!
76+
}

0 commit comments

Comments
 (0)