3 ms·
Thank you! Definitely; right now it only checks whether the latest karma does not equal the previous karma: https://github.com/jareklupinski/hackernews-badge/bl
by jareklupinski 4y ago
Thank you! Definitely; right now it only checks whether the latest karma does not equal the previous karma: https://github.com/jareklupinski/hackernews-badge/blob/main/hackernews-badge.ino#L188 https://github.com/jareklupinski/hackernews-badge/blob/main/...
Changing the condition for this branch, for example to
if ((previousKarma + 500) < userKarma || (previousKarma - 500) > userKarma) {
would make the notification go off when the karma has changed by at least 500. For high value accounts, the variables should probably be changed to 'long's as well... I enjoyed the light show tonight ;)