Send morse-coded tweets from your Arduino.
- Read package.json to see all the packages required.
- You will also need an Arduino UNO (or better).
- Set up a twitter app for this and set secrets in the .env file.
- Run the app with Foreman to set all env variables.
There are 2 main configuration files.
This has all the application constants.
{
"led-pin": 13,
"button-pin": 2,
"button-push-to-make": false,
"debug-mode": false,
"dot-dash-time-threshold": 500,
"twitter-hashtag": "TweetMorse",
"decoding-error-placeholder": "[derp]"
}
This includes all env key=value pairs. Please create a .env file and set these values correctly before running the app.
TWITTER_HANDLE=<your_twitter_handle>
TWITTER_CONSUMER_KEY=<twitter_app_consumer_key>
TWITTER_CONSUMER_SECRET=<twitter_app_consumer_secret>
TWITTER_ACCESS_TOKEN=<twitter_app_access_token>
TWITTER_ACCESS_TOKEN_SECRET=<twitter_app_access_token_secrey>