Bläddra i källkod

Less brightness (easier to film)

Link to video from README
master
The Dod 3 månader sedan
förälder
incheckning
6e5a48be92
4 ändrade filer med 8 tillägg och 4 borttagningar
  1. 5
    4
      README.md
  2. Binär
      graphics/cuts-with-hardware.png
  3. Binär
      graphics/cuts-without-hardware.png
  4. 3
    0
      talismetta/talismetta.ino

+ 5
- 4
README.md Visa fil

@@ -1,11 +1,12 @@
1 1
 ### Talis-Metta
2 2
 
3
-#### _[Work in Progress]_
3
+[![Talis-Metta's opening screen](graphics/talismetta.png)](https://nandn.org.il/talis-metta.mp4)
4 4
 
5
-Talis-Metta is a collaborative talisman with the virtue of [metta](https://en.wikipedia.org/wiki/Mettā) — intention, prayer and wishes for unconditional love — for myself, my loved ones and everyone else.
6
-From inner peace — through good will towards the other — to world peace.
5
+[**[video](https://nandn.org.il/talis-metta.mp4)**]
6
+
7
+Talis-Metta is a collaborative talisman with the virtue of [metta](https://en.wikipedia.org/wiki/Mettā) — loving kindness — for myself, my loved ones and everyone else.
7 8
 
8 9
 ----
9 10
 
10 11
 To convert images from [graphics/](graphics) to `.h` files under [talismetta/](talismetta),
11
-use [Rinky-Dink Electronics converter](http://www.rinkydinkelectronics.com/t_imageconverter565.php)
12
+use [Rinky-Dink Electronics converter](http://www.rinkydinkelectronics.com/t_imageconverter565.php)

Binär
graphics/cuts-with-hardware.png Visa fil


Binär
graphics/cuts-without-hardware.png Visa fil


+ 3
- 0
talismetta/talismetta.ino Visa fil

@@ -19,6 +19,8 @@
19 19
 #define BUTTON1PIN ((gpio_num_t)35)
20 20
 #define BUTTON2PIN ((gpio_num_t)0)
21 21
 
22
+#define BRIGHTNESS 31 // 0..255
23
+
22 24
 #define INTRO_FREEZE_MILLIS 4000
23 25
 #define INTRO_SCROLL_MILLIS 2000
24 26
 
@@ -192,6 +194,7 @@ void setup() {
192 194
   tft.init();
193 195
   tft.setRotation(3); // was 1
194 196
   tft.setSwapBytes(true);
197
+  analogWrite(TFT_BL,BRIGHTNESS);
195 198
   tft.fillScreen(TFT_BLACK);
196 199
 
197 200
   background.createSprite(240, 135);

Laddar…
Avbryt
Spara