This commit is contained in:
Correl Roush 2022-10-17 18:41:06 -04:00
parent b35040a591
commit d203a9ec56
3 changed files with 39 additions and 0 deletions

View file

@ -195,3 +195,15 @@ https://www.topdecked.com/decks/alive/833c308f-219f-4624-8b32-1adedcb477f0
- Which cards do I want in one deck that are currently in another?
- Which cards do I need more copies of?
- Which cards do I need that would improve specific decks?
** Types
: import Text -> (ValidCardNames, InvalidCardNames)
: import Text -> (ValidCards, InvalidCards)
: PreferredCard = PreferredCard { name: ValidCardName, card: Maybe ValidCard }
: import Text -> ([PreferredCard], [InvalidCardNames])
: decklist DeckName -> ValidCardNames -> DeckList
: commanderDeckList -> DeckList -> Either InvalidCommanderDeck CommanderDecklist
: Deck = Deck [PreferredCard]

View file

@ -0,0 +1,19 @@
:PROPERTIES:
:ID: d97fde4a-0e91-40f9-ac57-d0cd67295d14
:END:
#+title: ESP2866
* Best pins to use
| Label | GPIO | Input | Output | Notes |
|-------+--------+---------------+-----------------------+------------------------------------------------------------------|
| D0 | GPIO16 | no interrupt | no PWM or I2C support | HIGH at boot used to wake up from deep sleep |
| D1 | GPIO5 | OK! | OK! | often used as SCL (I2C) |
| D2 | GPIO4 | OK! | OK! | often used as SDA (I2C) |
| D3 | GPIO0 | pulled up | OK! | connected to FLASH button, boot fails if pulled LOW |
| D4 | GPIO2 | pulled up | OK! | HIGH at boot connected to on-board LED, boot fails if pulled LOW |
| D5 | GPIO14 | OK! | OK! | SPI (SCLK) |
| D6 | GPIO12 | OK! | OK! | SPI (MISO) |
| D7 | GPIO13 | OK! | OK! | SPI (MOSI) |
| D8 | GPIO15 | pulled to GND | OK | SPI (CS) Boot fails if pulled HIGH |
| RX | GPIO3 | OK | RX pin | HIGH at boot |
| TX | GPIO1 | TX pin | OK | HIGH at boot debug output at boot, boot fails if pulled LOW |
| A0 | ADC0 | Analog Input | X | |

View file

@ -0,0 +1,8 @@
:PROPERTIES:
:ID: 659c836d-0934-4496-a163-a51ccaccc117
:END:
#+title: #+title: ESPHome
A platform for building firmware for [[id:d97fde4a-0e91-40f9-ac57-d0cd67295d14][ESP2866]] and ESP32 microcontrollers using
YAML configuration files using a syntax similar to HomeAssistant that integrates
easily with HomeAssistant installations.