![]() |
![]() |
![]() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//simple button masher esp32 ttgo | |
#include <TFT_eSPI.h> | |
#include <SPI.h> | |
#define BUTTON1PIN 35 | |
#define BUTTON2PIN 0 | |
TFT_eSPI tft = TFT_eSPI(); | |
void IRAM_ATTR toggleButton1() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
######## | |
# originaly from https://github.com/mlafeldt/chef-runner/blob/v0.7.0/script/coverage | |
####### | |
# Generate test coverage statistics for Go packages. | |
# | |
# Works around the fact that `go test -coverprofile` currently does not work | |
# with multiple packages, see https://code.google.com/p/go/issues/detail?id=6909 | |
# | |
# Usage: script/coverage [--html|--coveralls] |