[VicPiMakers Projects] Make class out of functions

George Bowden gtbowdeng at gmail.com
Mon Nov 16 00:29:18 EST 2020


Yes, I caught that unsigned is needed.
I am testing with just two LEDs , flashing each at a different period, no
wifi for the moment.
Using just ordinary functions, there are several interesting misses
millis() at Blink msec since previous
8000
8500 500
9500 1000
10009 509
10500 491
11009 509
11500 491
12500 1000
13000 500
13500 500
14500 1000
15009 509
15500 491
16000 500
17000 1000
17500 500
18009 509
18500 491
19000 500
19500 500
20009 509
20500 491
21000 500
22000 1000
22500 500
23000 500
23500 500
24009 509
24500 491
25500 1000
26000 500
26500 500
27500 1000
28009 509
28500 491
29000 500
29500 500
31009 1509
31500 491
32000 500
33009 1009
34000 991
35009 1009
35500 491
36000 500
36500 500
37000 500
37500 500
38500 1000
39009 509
39500 491
41500 2000
42009 509
43009 1000
43500 491
44500 1000
45000 500
46000 1000
46500 500
47500 1000
48000 500
48500 500
49009 509
49500 491
50009 509
50500 491
51500 1000
52009 509
52500 491
53009 509
53500 491
54000 500
54500 500
55009 509
55500 491
56500 1000
57009 509
57500 491
58009 509
58500 491
59000 500
59500 500
60009 509
60500 491
61000 500
62000 1000
62500 500
63009 509
64009 1000
64500 491
65009 509
65500 491
66000 500
66500 500
67500 1000
68009 509
68500 491
69000 500
69500 500
70000 500
70500 500
71009 509
72500 1491
73000 500
73500 500
74000 500
75000 1000

On Sun, Nov 15, 2020 at 8:09 PM Mark G. <vpm at palaceofretention.ca> wrote:

> Quick update:
>
> You probably want to add unsigned in front of
> all the long ints, or adjust the type as needed
> (all over, including  the "const" values).
>
> George Bowden, vice president, Victoria Computer Club
gtbowdeng at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://vicpimakers.ca/pipermail/projects_vicpimakers.ca/attachments/20201115/12c5bac5/attachment.htm>


More information about the Projects mailing list