Hi Gordon,
I tried getTime with one of them. Here are the results:
Running onInit()... 22 27 1 8.89654541015 22 27 2 9.87362384796 22 27 3 10.85043907165 >["NONE","LSE","LSI","HSE"][((peek32(0x40021020)&768)>>8)] ="LSE" 22 27 4 11.82781124114 22 27 5 12.80497169494 22 27 6 13.78127479553 22 27 7 14.75885581970 22 27 8 15.73618793487 22 27 9 16.71329021453 22 27 10 17.68983268737 22 27 11 18.66729640960 22 27 12 19.64469623565 22 27 13 20.62130546569 22 27 14 21.59873771667 22 27 15 22.57538700103 22 27 16 23.55257987976 22 27 17 24.52955722808 22 27 18 25.50629901885 22 27 19 26.48370838165 22 27 20 27.46107578277 22 27 21 28.43755435943 22 27 22 29.41496467590 22 27 23 30.39203929901 22 27 24 31.36863899230 22 27 25 32.34608268737 22 27 26 33.32317829132 22 27 27 34.30036544799 22 27 28 35.27692508697 22 27 29 36.25446891784 22 27 30 37.23196983337 22 27 31 38.20841407775 22 27 32 39.17696094512 22 27 33 40.14436244964 22 27 34 41.11141586303 22 27 35 42.07813072204 22 27 36 43.04565048217 22 27 37 44.01294136047 22 27 38 44.97966384887 22 27 39 45.94723033905 22 27 40 46.91443347930 22 27 41 47.88146877288 22 27 42 48.84821319580 22 27 43 49.81562614440 22 27 44 50.78271198272 22 27 45 51.74902725219 22 27 46 52.71672534942 22 27 47 53.68405914306 22 27 48 54.65052795410 22 27 49 55.61753273010 22 27 50 56.58525753021 22 27 51 57.55184650421 22 27 52 58.51905536651 22 27 53 59.48586845397 22 27 54 60.45320510864 22 27 55 61.42058277130 22 27 56 62.38734245300 22 27 57 63.35481452941 22 27 58 64.32194614410 22 27 59 65.28926372528 22 28 0 66.25617694854 22 28 1 67.22333431243 22 28 2 68.19010353088 22 28 3 69.15674114227 22 28 4 70.12435626983 22 28 5 71.09159755706 22 28 6 72.05858993530 22 28 7 73.02545547485 22 28 8 73.99303150177 22 28 9 74.95989799499 22 28 10 75.92654418945 22 28 11 76.89402294158 22 28 12 77.86119842529 22 28 13 78.82830810546 22 28 14 79.79456424713 22 28 15 80.76237297058 22 28 16 81.72950744628 22 28 17 82.69598865509 22 28 18 83.66352081298 22 28 19 84.63085842132 22 28 20 85.59737682342 22 28 21 86.56439304351 22 28 22 87.53121662139 22 28 23 88.49844074249 22 28 24 89.46592426300 22 28 25 90.43259620666 22 28 26 91.40005779266 22 28 27 92.36719226837 22 28 28 93.33396911621 22 28 29 94.30138015747 22 28 30 95.26851844787 22 28 31 96.23584556579 22 28 32 97.20260143280 22 28 33 98.17017459869 22 28 34 99.13756942749 22 28 35 100.10418987274 22 28 36 101.07176780700 22 28 37 102.03902435302 22 28 38 103.00602912902 22 28 39 103.97282505035 22 28 40 104.94040489196 22 28 41 105.90770339965 22 28 42 106.87440109252 22 28 43 107.84176254272 22 28 44 108.80907344818 22 28 45 109.77622699737 22 28 46 110.74252700805 22 28 47 111.71034812927 22 28 48 112.67763710021 22 28 49 113.64414405822 22 28 50 114.61173534393 22 28 51 115.57839584350 22 28 52 116.54544925689 22 28 53 117.51273441314 22 28 54 118.47938537597 22 28 55 119.44679546356 22 28 56 120.41403484344 22 28 57 121.38079738616 22 28 58 122.34818935394 22 28 59 123.31535625457 22 29 0 124.28244972229 22 29 1 125.24951934814 22 29 2 126.21704196929 22 29 3 127.18405437469 22 29 4 128.15081787109 22 29 5 129.11840724945 22 29 6 130.08529472351 22 29 7 131.05198574066 22 29 8 132.01952838897 22 29 9 132.98675060272 22 29 10 133.95380210876 22 29 11 134.92061901092 22 29 12 135.88815116882 22 29 13 136.85531616210 22 29 14 137.82149314880 22 29 15 138.78920650482 22 29 16 139.75653076171 22 29 17 140.72360706329 22 29 18 141.69012451171 22 29 19 142.65779495239 22 29 20 143.62495136260 22 29 21 144.59137916564 22 29 22 145.55818462371 22 29 23 146.52558612823 22 29 24 147.49297714233 22 29 25 148.45994281768 22 29 26 149.42677593231 22 29 27 150.39429092407 22 29 28 151.36148071289 22 29 29 152.32823085784 22 29 30 153.29566287994 22 29 31 154.26294803619 22 29 32 155.22980785369 22 29 33 156.19702720642 22 29 34 157.16458511352 22 29 35 158.13157749176 22 29 36 159.09837818145 22 29 37 160.06590938568 22 29 38 161.03356742858 22 29 39 162.00023937225 22 29 40 162.96779060363 22 29 41 163.93502902984 22 29 42 164.90207576751 22 29 43 165.86882972717 22 29 44 166.83629417419 22 29 45 167.80352115631 22 29 46 168.76992511749 22 29 47 169.73762893676 22 29 48 170.70493888854 22 29 49 171.67143344879 22 29 50 172.63846778869 22 29 51 173.60614681243 22 29 52 174.57280635833 22 29 53 175.53966617584 22 29 54 176.50644588470 22 29 55 177.47377395629 22 29 56 178.44114017486 22 29 57 179.40784454345 22 29 58 180.37530517578 22 29 59 181.34243965148 22 30 0 182.30955028533 22 30 1 183.27625942230 22 30 2 184.24385643005 22 30 3 185.21126842498 22 30 4 186.17786598205 22 30 5 187.14545059204 22 30 6 188.11270713806 22 30 7 189.07970333099 22 30 8 190.04650974273 22 30 9 191.01412582397 22 30 10 191.98157882690 22 30 11 192.94823455810 22 30 12 193.91568279266 22 30 13 194.88286590576 22 30 14 195.84993267059 22 30 15 196.81623935699 22 30 16 197.78408527374 22 30 17 198.75120639801 22 30 18 199.71769332885 22 30 19 200.68547439575 22 30 20 201.65268230438 22 30 21 202.61917877197 22 30 22 203.58617210388 22 30 23 204.55388450622 22 30 24 205.52055644989 22 30 25 206.48801231384 22 30 26 207.45453739166 22 30 27 208.42182731628 22 30 28 209.38918209075 22 30 29 210.35595798492 22 30 30 211.32342720031 22 30 31 212.29054927825 22 30 32 213.25790596008 22 30 33 214.22473812103 22 30 34 215.19185161590 22 30 35 216.15999317169 22 30 36 217.12664890289 22 30 37 218.09422779083 22 30 38 219.06140232086 22 30 39 220.02842235565 22 30 40 220.99529457092 22 30 41 221.96289157867 22 30 42 222.93021774291 22 30 43 223.89696311950 22 30 44 224.86442661285 22 30 45 225.83157253265 22 30 46 226.79866313934 22 30 47 227.76496028900 22 30 48 228.73280620574 22 30 49 229.70020866394 22 30 50 230.66671943664 22 30 51 231.63428211212 22 30 52 232.60087776184 22 30 53 233.56793117523 22 30 54 234.53498554229 22 30 55 235.50187206268 22 30 56 236.46923542022 22 30 57 237.43669700622 22 30 58 238.40335559844 22 30 59 239.37069702148 22 31 0 240.33797454833 22 31 1 241.30460739135 22 31 2 242.27206420898 22 31 3 243.23953437805 22 31 4 244.20658493041 22 31 5 245.17336845397 22 31 6 246.14100742340 22 31 7 247.10786342620 22 31 8 248.07446098327 22 31 9 249.04199314117 22 31 10 250.00922775268
In case its not clear: HH-mm-ss getTime().
getTime() does seem to be OK, 4 minutes take 232 seconds, which is what the getTime() tells us and what I clocked on a stopwatch.
I soldered on a new crystal (same batch) with these results. I'll check the other espruino..
@Alex started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi Gordon,
I tried getTime with one of them. Here are the results:
In case its not clear: HH-mm-ss getTime().
getTime() does seem to be OK, 4 minutes take 232 seconds, which is what the getTime() tells us and what I clocked on a stopwatch.
I soldered on a new crystal (same batch) with these results. I'll check the other espruino..