sheffieldnikki
sheffieldnikki
I haven't tested it, but this is a much faster way to write 2 bytes, without setting the register address separately for the high and low bytes, and without `delay()`...
Any news on fixing this by merging split-fingerprinting? dejavu is almost unusable on low memory machines - even the example mp3 files give out of memory errors when trying to...
Any news on merging this with the master branch? dejavu is almost unusable on low memory machines - even the example mp3 files give out of memory errors when trying...
I wonder if it useful to write this as `(angle * 360) / 4096` instead of a fixed numeric constant? That way a reader can see how it is calculated,...
> The library supports registering an advanced callback using `onMessageAdvanced` that will receive the full buffers. Check the readme to find more information. That doesn't address this issue, which is...
Sure, but that is just adding an extra layer. NTPClient already has a private variable to store that timestamp, and functions that use it.
I've added the obvious code, in case anyone wants to use it. NTPClient.h: /** * Replace the NTP-fetched time with seconds since Jan. 1, 1970 */ void setEpochTime(unsigned long secs);...
A useful polyfill for older browsers is [https://github.com/w3c/IntersectionObserver/tree/master/polyfill](https://github.com/w3c/IntersectionObserver/tree/master/polyfill) which can be included with: `` or to only load the polyfill if needed: `if(!window.IntersectionObserver){ var ga=document.createElement('script');ga.type='text/javascript';ga.async=true; ga.src='//polyfill.io/v2/polyfill.min.js?features=IntersectionObserver'; var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(ga,s)};`
I've just written a getFormattedDate() method for my own use, that outputs an ISO 8601 date/time string. Here it is, in case anyone finds it useful. _Aside: there is a...