1 00:00:02,260 --> 00:00:03,900 Welcome to the CircuitPython Show. 2 00:00:04,240 --> 00:00:05,340 I'm your host, Paul Cutler. 3 00:00:06,060 --> 00:00:07,980 This episode, I welcome Michael Czeiszperger. 4 00:00:08,620 --> 00:00:11,220 Michael, who described himself in a bio he wrote in 1991, 5 00:00:11,620 --> 00:00:13,300 as an engineer who dabbles in writing, 6 00:00:13,820 --> 00:00:15,940 musical composition, and computer graphics, 7 00:00:16,520 --> 00:00:18,860 skillfully avoiding the mastery of any one field. 8 00:00:20,040 --> 00:00:21,900 35 years later, the list has only grown. 9 00:00:22,300 --> 00:00:24,980 Real-time synthesizer prototypes at Yamaha R&D, 10 00:00:25,280 --> 00:00:27,960 where he demoed the entire lab's work for Yamaha's president, 11 00:00:28,720 --> 00:00:34,720 Solaris Audio Libraries at Sun Microsystems, and since 1998, his own company, Web Performance 12 00:00:34,960 --> 00:00:40,720 Incorporated, building load testing tools used by the U.S. Census, Statistics Canada, and the New York 13 00:00:41,500 --> 00:00:46,900 Marathon, most recently shipping agentic AI systems into a 25-year-old Enterprise Java platform. 14 00:00:48,000 --> 00:00:52,000 Michael just released ScrollKit, which exists because he wanted LED signs showing live 15 00:00:52,160 --> 00:00:56,720 theme park wait times, and found that most CircuitPython Matrix libraries get you a scrolling 16 00:00:56,820 --> 00:01:02,980 Hello World and stop. It handles everything after that. Over-the-air updates to boards in the field, 17 00:01:03,540 --> 00:01:09,580 fault-tolerant data refresh, transitions and effects, and a built-in web server, all running at once 18 00:01:09,670 --> 00:01:16,180 on boards like the Matrix Portal S3, plus a pixel-accurate desktop simulator, so debugging doesn't have to happen 19 00:01:16,360 --> 00:01:20,180 on hardware. Michael, welcome to the show. 20 00:01:21,220 --> 00:01:21,580 Hey, 21 00:01:21,720 --> 00:01:21,880 how's 22 00:01:21,880 --> 00:01:21,900 it 23 00:01:21,900 --> 00:01:22,100 going? 24 00:01:22,620 --> 00:01:24,200 How did you first get started with 25 00:01:24,200 --> 00:01:25,140 computers and electronics? 26 00:01:26,380 --> 00:01:32,680 If you want to talk about electronics, my dad was a real big believer in the 27 00:01:33,060 --> 00:01:39,700 value of hard work and other people. And so he had a buddy who had a TV repair shop and it sent me out 28 00:01:39,800 --> 00:01:46,140 to Apprentice there. Look, I was 14. And so they put me to work first sweeping floors and then 29 00:01:47,200 --> 00:01:53,580 soldering used parts off of old TVs to go in the bins to be used. And so I thought that was the coolest thing. 30 00:01:53,660 --> 00:01:54,520 how does it all work? 31 00:01:55,660 --> 00:01:57,700 You know, and the other thing I thought was, 32 00:01:58,320 --> 00:01:59,720 I do not want to repair TVs. 33 00:02:00,320 --> 00:02:02,380 I want to build stereos. 34 00:02:02,640 --> 00:02:03,700 That sounds way cooler. 35 00:02:05,120 --> 00:02:06,120 How did you discover CircuitPython? 36 00:02:07,360 --> 00:02:10,820 I discovered CircuitPython because I've been following 37 00:02:11,039 --> 00:02:12,100 Adafruit since it started. 38 00:02:12,460 --> 00:02:15,860 And so I just think it's a cool company. 39 00:02:16,400 --> 00:02:17,440 I like the way they're run. 40 00:02:18,130 --> 00:02:21,880 And CircuitPython happened to be a good way 41 00:02:22,000 --> 00:02:23,280 to learn how to use our hardware. 42 00:02:23,920 --> 00:02:28,880 I've already done C++ programming on ESP 32s, and I thought, I know how to do that. 43 00:02:29,240 --> 00:02:31,720 But a buddy of mine says, you have to learn Python. 44 00:02:32,020 --> 00:02:37,640 And so what a better way to learn Python than to make LED screens light up. 45 00:02:38,380 --> 00:02:41,980 Speaking of LED screens, you recently released ScrollKit for CircuitPython. 46 00:02:42,920 --> 00:02:43,800 Tell me about ScrollKit. 47 00:02:45,080 --> 00:02:50,580 I wanted to learn Python, but I also wanted to make a product, because I'm kind of like an entrepreneur or product engineer. 48 00:02:50,780 --> 00:02:53,180 And the product I would make was kind of dumb. 49 00:02:53,230 --> 00:02:58,760 And that is a box, which would tell me what the wait times were at theme parks, because I'm a theme park net. 50 00:03:00,470 --> 00:03:08,500 And as a professional programmer, I sat down and all the different bits and pieces that you needed to put together, I'll hold it to do by hand. 51 00:03:08,780 --> 00:03:11,000 It's like, why don't any of these libraries exist? 52 00:03:11,680 --> 00:03:14,140 This is a, you know, I don't mind writing them. 53 00:03:14,240 --> 00:03:17,460 But, I mean, it should be a few lines of code that somebody else wrote, not me. 54 00:03:17,960 --> 00:03:19,400 I mean, all the different pieces. 55 00:03:20,540 --> 00:03:25,200 I was looking at page after page of like gobbly gook of trying to get the boards configured. 56 00:03:25,250 --> 00:03:34,040 And I thought, you know, somebody else could be saved a lot of time if I just pulled out all the commonalities and made it into a library. 57 00:03:34,800 --> 00:03:36,960 And so I happened to be on the API team. 58 00:03:37,000 --> 00:03:38,960 It's on microsystems back in the day for audio. 59 00:03:39,120 --> 00:03:45,080 So I had like an I for, I'm just a real stickler about it should be as simple as possible and extensible. 60 00:03:45,400 --> 00:03:47,760 So that I just love looking at a program. 61 00:03:47,800 --> 00:03:51,900 It's like line one, set everything up, line two, run the program. 62 00:03:52,100 --> 00:03:56,340 You know, it should be logical and easy for even non-programmers to use. 63 00:03:57,920 --> 00:03:58,920 This is version three. 64 00:03:59,420 --> 00:04:01,100 How does it differ from the first two versions? 65 00:04:01,740 --> 00:04:03,140 What have you learned along the way? 66 00:04:04,400 --> 00:04:05,000 Well, I learned a lot. 67 00:04:05,380 --> 00:04:11,680 As you can imagine, version 1.0 actually shipped and people like paid me to shift these boxes out. 68 00:04:12,120 --> 00:04:14,060 And it was pretty much crap. 69 00:04:15,500 --> 00:04:17,680 I mean, I had tested it at home, but these, 70 00:04:17,980 --> 00:04:23,320 you know, people would run it on spotty Wi-Fi networks and it'd be up for six months 71 00:04:23,920 --> 00:04:27,220 and they were naive users. 72 00:04:27,450 --> 00:04:35,780 And so if the box happened to go blank for 10 seconds because the data feed locked up, 73 00:04:35,860 --> 00:04:40,120 they would panic and send an email or unplug the box and then it hose it. 74 00:04:40,840 --> 00:04:44,420 I rewrote the thing to version two and I thought I was going to fix all those things. 75 00:04:44,430 --> 00:04:46,060 And it was more solid then. 76 00:04:46,780 --> 00:04:47,480 It was better. 77 00:04:47,700 --> 00:04:49,340 it was just completely hand-coded. 78 00:04:49,700 --> 00:04:51,500 And then about the same time, 79 00:04:51,940 --> 00:04:53,140 AI coding came along. 80 00:04:53,160 --> 00:04:54,540 And I thought, you know, 81 00:04:54,980 --> 00:04:57,120 I would rather risk learning how to program 82 00:04:57,320 --> 00:04:59,520 with AI on this than at work. 83 00:05:01,480 --> 00:05:03,060 The first time, I said, 84 00:05:03,320 --> 00:05:06,020 all right, refactor this into a library, 85 00:05:06,160 --> 00:05:06,700 separated it. 86 00:05:06,780 --> 00:05:07,560 So I gave it instructions. 87 00:05:08,280 --> 00:05:09,440 And I let it run overnight, 88 00:05:09,720 --> 00:05:10,700 and it came back the next day. 89 00:05:10,820 --> 00:05:13,840 And it was literally 20,000 lines of gobbly gook. 90 00:05:15,400 --> 00:05:16,640 I mean, it was just horrible. 91 00:05:17,060 --> 00:05:23,260 So it was a long process to figure out, all right, how do I, as a former engineering manager, 92 00:05:24,080 --> 00:05:31,100 tell my AI team how to do what I needed to do, which is to create a professional-looking library. 93 00:05:33,160 --> 00:05:34,680 So tell me a little bit more about ScrollKit. 94 00:05:35,060 --> 00:05:35,760 How does it work? 95 00:05:36,780 --> 00:05:47,000 You know, it's a Python library, but when you make a, there's a big difference between just running a little demo app on your CircuitPython device. 96 00:05:47,280 --> 00:05:48,840 and coming out with a product. 97 00:05:49,280 --> 00:05:53,420 And so one of the first things that happens is when you give a person a box, 98 00:05:53,660 --> 00:05:54,800 it has to connect to the Internet. 99 00:05:55,620 --> 00:05:58,220 And all of the CircuitPython documentation that says, 100 00:05:58,500 --> 00:06:01,520 first mount your drive and then edit the file with your Wi-Fi password. 101 00:06:02,640 --> 00:06:05,520 And no, people are not going to do that that have paid for a product. 102 00:06:06,040 --> 00:06:07,420 They just aren't going to do that. 103 00:06:07,560 --> 00:06:12,280 And so the first thing is there were some regular Python scripts, 104 00:06:12,420 --> 00:06:15,460 but I wrote it from scratch that when the box comes up, 105 00:06:15,800 --> 00:06:20,280 it throws an actual web server up with instructions for the user. 106 00:06:20,500 --> 00:06:23,700 So across the device, it scrolls, log into here, 107 00:06:24,640 --> 00:06:27,300 and then it allows you connect your internet. 108 00:06:28,120 --> 00:06:29,440 So it's polished. 109 00:06:29,520 --> 00:06:31,480 It's basically product polish. 110 00:06:32,120 --> 00:06:33,120 So what happens then? 111 00:06:33,200 --> 00:06:36,700 The next thing that happens is, what if the user wants to modify it? 112 00:06:37,180 --> 00:06:38,920 You don't want to write an app for that. 113 00:06:38,920 --> 00:06:40,020 And then they have to download an app. 114 00:06:40,160 --> 00:06:45,760 So then the web server that's running on the box automatically picks up all of your settings 115 00:06:45,820 --> 00:06:48,060 you specified for app and shows them in a nice GUI 116 00:06:48,180 --> 00:06:51,180 should use her and go and change parameters for all speed colors. 117 00:06:51,640 --> 00:06:53,820 Whatever parameters you want, it automatically throws it up. 118 00:06:53,820 --> 00:06:55,700 You just define what your parameters are 119 00:06:56,060 --> 00:06:57,440 and the GUI just takes care of it. 120 00:06:57,580 --> 00:06:59,020 Now, if you want to do something complicated, 121 00:06:59,100 --> 00:07:00,240 you could write your own GUI to. 122 00:07:00,720 --> 00:07:05,420 But the philosophy here is what 99% of people are going to be doing 123 00:07:05,720 --> 00:07:08,620 is handled in just the simplest way possible. 124 00:07:09,020 --> 00:07:11,300 Now, when you say box, what hardware have you targeted? 125 00:07:11,400 --> 00:07:13,220 I believe it's an S3 Matrix portal, 126 00:07:13,400 --> 00:07:15,740 and is it Hub 75 127 00:07:15,760 --> 00:07:16,520 displays? 128 00:07:17,120 --> 00:07:21,380 Yeah, yes. That's pretty much the first case. I have a list of other hardware sitting. 129 00:07:21,460 --> 00:07:27,980 I might ask right now that I'm going to be adding just to add something else. I really like that device, 130 00:07:28,080 --> 00:07:34,820 the S3. It's so, I mean, it's so easy to put together. It's just a couple of wires. You plug it into a 131 00:07:34,940 --> 00:07:42,140 box. The thing runs. There's nothing to solder. I mean, it's it's dead simple for a hobbyist for me. 132 00:07:42,500 --> 00:07:47,280 and I actually went and cadded up a really nice enclosure for it too. 133 00:07:47,440 --> 00:07:48,660 So the whole thing just mounts. 134 00:07:49,060 --> 00:07:51,240 It's got a holes in the right place from the side. 135 00:07:51,270 --> 00:07:56,640 You just plug in your USB power kit, power cable, and it just works. 136 00:07:57,180 --> 00:08:01,460 I've got a project that uses two 64 by 32s together with a nice 3D printed cases. 137 00:08:01,600 --> 00:08:03,660 We might have to trade designs at some point here. 138 00:08:04,720 --> 00:08:04,920 Oh, yeah. 139 00:08:04,930 --> 00:08:05,840 Well, that's the next step. 140 00:08:05,920 --> 00:08:07,420 Once you get one, then you went two, right? 141 00:08:07,460 --> 00:08:07,900 That's right. 142 00:08:09,460 --> 00:08:11,320 How do over-the-air updates work? 143 00:08:12,220 --> 00:08:18,500 Over-the-air updates, basically it looks for a live branch on a GitHub feed. 144 00:08:19,340 --> 00:08:33,780 So you can do your development, and then when you're ready for a ship, you can tag it with a release number, push it to the live branch, and then all the boxes have a little button at the bottom under GUI, and you can say check for updates. 145 00:08:34,219 --> 00:08:41,340 What I typically do is I have a list of people who are using it, and then I just send them an email when there's something with the description and they can upgrade. 146 00:08:41,360 --> 00:08:42,000 great or not. 147 00:08:42,419 --> 00:08:42,620 Sure. 148 00:08:43,280 --> 00:08:45,520 I just remember, we haven't talked about graphics. 149 00:08:46,200 --> 00:08:46,420 Right. 150 00:08:47,020 --> 00:08:47,960 That was the next question. 151 00:08:48,220 --> 00:08:48,720 Perfect timing. 152 00:08:49,460 --> 00:08:50,360 Yeah, we haven't talked about graphics. 153 00:08:50,500 --> 00:08:55,660 So one of the, the first thing that really made me excited about doing this was that, 154 00:08:55,730 --> 00:08:59,000 I don't know if you had the Aterfruit demo where they have a sort of like a flocking thing. 155 00:08:59,520 --> 00:08:59,900 I've seen it. 156 00:08:59,920 --> 00:09:00,680 It was in C++. 157 00:09:01,080 --> 00:09:01,160 Yeah. 158 00:09:01,500 --> 00:09:01,640 All right. 159 00:09:01,720 --> 00:09:03,780 So first thing I tried to do is write that in Python. 160 00:09:05,540 --> 00:09:06,120 Oh, my God. 161 00:09:06,400 --> 00:09:08,060 It did do was just glacial. 162 00:09:08,230 --> 00:09:10,000 I mean, it was just one thing at a time. 163 00:09:11,240 --> 00:09:12,680 And then I looked into it. 164 00:09:12,680 --> 00:09:15,900 I realized that some of the calls, graphic calls, 165 00:09:15,900 --> 00:09:19,080 and circuit bython are really fast because they're in C 166 00:09:19,260 --> 00:09:19,740 and some are. 167 00:09:20,839 --> 00:09:24,300 So what I actually did was wrote a program that went through 168 00:09:24,480 --> 00:09:28,860 and timed each of the graphics calls and made a table. 169 00:09:29,340 --> 00:09:31,800 All right, which ones are fast and which ones are slow. 170 00:09:32,480 --> 00:09:35,300 So all right, now I know which ones to avoid. 171 00:09:36,100 --> 00:09:39,060 And then I said, OK, what higher level constructs 172 00:09:39,140 --> 00:09:40,640 do I really want to do to put together? 173 00:09:40,660 --> 00:09:46,560 other animation to make things walk and make things fly and just came up with a nice, very simple 174 00:09:46,780 --> 00:09:52,080 little kit in order to put sprites in there that all used the fast thing. So the first thing I did 175 00:09:52,180 --> 00:09:58,880 was try to redo that flocking algorithm and it worked this time. By using the fast calls, 176 00:09:59,440 --> 00:10:03,980 I've sort of timed it so I could create a flock of about 20 separate birds. That seems to be 177 00:10:04,320 --> 00:10:08,060 optimal for the S3. Once you get over that, then it slows down. 178 00:10:08,180 --> 00:10:09,400 That's still pretty impressive, 179 00:10:09,600 --> 00:10:12,020 that you can get 20 other birds animating at the same time. 180 00:10:12,720 --> 00:10:17,420 On CircuitPython, to me, the thing is as slow as on that hardware, 181 00:10:17,620 --> 00:10:20,460 it's kind of like writing and basic for old Commodore 64. 182 00:10:22,320 --> 00:10:24,820 And I think that's part of the appeal of learning CircuitPython, 183 00:10:25,150 --> 00:10:28,160 and it's got some of that back-to-basics feel to it. 184 00:10:29,120 --> 00:10:33,260 Well, you know, I think you get some of the best creativity when you're restricted. 185 00:10:34,100 --> 00:10:38,740 If you had a limited compute power, what would the fun of that be? 186 00:10:38,940 --> 00:10:40,500 That's right. It's all about those constraints. 187 00:10:41,360 --> 00:10:41,480 Yeah. 188 00:10:42,040 --> 00:10:43,780 So you mentioned the speed is one of the challenges. 189 00:10:43,960 --> 00:10:45,820 Were there any other challenges you had to overcome? 190 00:10:46,780 --> 00:10:51,200 CircuitPython is different because they rewrote. 191 00:10:51,660 --> 00:10:54,300 They have a different HTTP stack than regular Python. 192 00:10:54,720 --> 00:10:56,620 They have a different graphic stack. 193 00:10:56,900 --> 00:11:01,060 And so trying to get everything running at the same time in the box was challenging 194 00:11:01,420 --> 00:11:04,020 because the HTTP is synchronous. 195 00:11:04,340 --> 00:11:07,899 But in order to get simultaneous scrolling across the screen 196 00:11:08,440 --> 00:11:09,840 and the web server running 197 00:11:10,320 --> 00:11:12,440 and the data being updated simultaneously, 198 00:11:13,620 --> 00:11:16,080 the background would block 199 00:11:16,240 --> 00:11:18,160 every time there's HTTP call. 200 00:11:18,260 --> 00:11:21,380 And so I put a lot of effort down the drain 201 00:11:21,450 --> 00:11:23,500 and trying to make that I-O asynchronous 202 00:11:24,000 --> 00:11:24,940 that just never panned out. 203 00:11:25,100 --> 00:11:26,880 So I decided to work around it 204 00:11:26,980 --> 00:11:28,460 by putting up a screen that says, 205 00:11:28,800 --> 00:11:30,580 I'm updating now, don't unplug. 206 00:11:32,660 --> 00:11:35,040 So the end result of that architecture now 207 00:11:35,120 --> 00:11:37,880 is that I can have multiple graphics processes, 208 00:11:37,900 --> 00:11:39,320 is running and egg secrecy. 209 00:11:39,620 --> 00:11:44,020 So at the same time as there's a message scrolling across the screen, 210 00:11:44,400 --> 00:11:49,180 I can have an animated swarm, form the wait time for the ride. 211 00:11:50,480 --> 00:11:51,160 It's so cool. 212 00:11:51,360 --> 00:11:55,100 It just sort of like call comes in from everywhere and swirls around and then makes the number. 213 00:11:55,600 --> 00:12:00,120 And I think when you have a simple little box like that, it's those fun little animations 214 00:12:00,400 --> 00:12:02,920 that make it interesting, that change every time. 215 00:12:03,520 --> 00:12:03,900 I agree. 216 00:12:04,680 --> 00:12:07,860 You mentioned that you wanted to start the project off by learning 217 00:12:07,880 --> 00:12:10,220 a little bit more about how AI might be able to help. 218 00:12:10,660 --> 00:12:11,840 I believe you used Claude. 219 00:12:11,840 --> 00:12:12,920 How did Claude help you? 220 00:12:14,040 --> 00:12:15,220 Yeah, well, I came back. 221 00:12:15,840 --> 00:12:17,520 I left this project sit for a year, 222 00:12:18,020 --> 00:12:22,200 and I learned how to use AI in a corporate setting, 223 00:12:22,520 --> 00:12:23,500 doing production work. 224 00:12:24,360 --> 00:12:26,240 And so I brought that skill set. 225 00:12:26,300 --> 00:12:28,280 I thought, you know, what would be fun? 226 00:12:28,780 --> 00:12:32,120 I want to have little animations for each ride. 227 00:12:32,740 --> 00:12:37,000 There's a ride at Magic Kingdom with the Big Thunder Mountain, 228 00:12:37,120 --> 00:12:39,460 and there's this goat that's sort of the mascot, 229 00:12:39,800 --> 00:12:42,820 and the goat sort of shakes his head up and down with dynamite's mouth. 230 00:12:42,940 --> 00:12:45,660 I said, I want that, but I want it for every ride. 231 00:12:45,780 --> 00:12:48,520 So I thought, let's try the new Fable. 232 00:12:48,600 --> 00:12:50,440 The big model right now that came out as Fable. 233 00:12:50,820 --> 00:12:55,640 I thought, you know, I'm going to create a list of every ride that are my favorites 234 00:12:55,840 --> 00:12:58,720 and then put out a text description of the animation that I want. 235 00:12:59,220 --> 00:13:01,560 And then I'll just let Fable chew on that overnight. 236 00:13:02,680 --> 00:13:05,920 So I came back and like some of them were really cool 237 00:13:06,000 --> 00:13:07,460 and some of them were blobs. 238 00:13:08,960 --> 00:13:12,420 And so when I realized that I can't tell it to make a guitar, 239 00:13:13,120 --> 00:13:15,180 I have to describe what a guitar looks like. 240 00:13:16,600 --> 00:13:17,940 And so that was a process. 241 00:13:18,140 --> 00:13:19,660 It took like three different revisions. 242 00:13:20,200 --> 00:13:21,760 And then every time it was says, 243 00:13:21,820 --> 00:13:24,580 you know, I don't want the head to bob up and down. 244 00:13:24,580 --> 00:13:25,200 I want it to rotate. 245 00:13:25,440 --> 00:13:26,780 So then every time that happened, 246 00:13:27,160 --> 00:13:28,200 I would update ScrollKit. 247 00:13:28,560 --> 00:13:32,060 So now you can have little bitmaps that rotate. 248 00:13:32,500 --> 00:13:34,700 And then I did a walking mechanism. 249 00:13:35,180 --> 00:13:37,720 And I did a bird flies and flaps. 250 00:13:37,930 --> 00:13:43,000 And then I did vehicles where you can have a road and things walking over the road 251 00:13:43,100 --> 00:13:44,840 where the road stays the same and the people walk. 252 00:13:44,920 --> 00:13:48,640 So basically, I just iteratively went through each of the rides and thought, 253 00:13:48,690 --> 00:13:50,740 all right, what would that be cool? 254 00:13:51,120 --> 00:13:58,120 Had the AI crate that for me, iterated on it, and then moved all the reusable parts of the code over to the library. 255 00:13:59,260 --> 00:14:05,120 Is there the ability for users to fork your repo and actually give prompts to their AI? 256 00:14:05,160 --> 00:14:08,500 to build animations for the LED matrix themselves? 257 00:14:09,860 --> 00:14:10,820 Yeah, that's the whole point, 258 00:14:11,060 --> 00:14:14,100 is that built into this whole thing is 259 00:14:15,620 --> 00:14:18,020 and instructions for the AI of your choice 260 00:14:18,740 --> 00:14:19,700 of how to use this, 261 00:14:19,940 --> 00:14:24,460 where you could go plug in some thing in your head 262 00:14:24,540 --> 00:14:26,020 of how you want it to look visually 263 00:14:26,200 --> 00:14:29,300 and it will try to create an animation that does that. 264 00:14:29,880 --> 00:14:31,580 So I think that's really fun. 265 00:14:31,780 --> 00:14:33,180 You can look at the code yourself 266 00:14:34,740 --> 00:14:39,700 and it's just so cute to see these blocky little things go across the screen. 267 00:14:40,540 --> 00:14:43,040 It might be a great way to introduce someone to CircuitPython, too. 268 00:14:43,300 --> 00:14:46,400 Put them in front of it and get them interested in giving the prompts, 269 00:14:46,640 --> 00:14:49,320 and then over time they might be interested in going under the hood 270 00:14:49,400 --> 00:14:50,680 and learning how it actually works. 271 00:14:51,940 --> 00:14:52,680 That's the idea. 272 00:14:53,220 --> 00:14:57,960 People can use as little or as much coding themselves as they want. 273 00:14:58,540 --> 00:15:01,420 I think the end result would be if somebody says, 274 00:15:01,560 --> 00:15:05,980 You know, I want to do an asteroid game or something silly. 275 00:15:06,360 --> 00:15:08,280 And then they end up having to write code to do that. 276 00:15:09,180 --> 00:15:11,960 So you wrote a simulator that works with Pye game. 277 00:15:12,100 --> 00:15:12,860 How does that work? 278 00:15:14,180 --> 00:15:14,560 Yes. 279 00:15:15,280 --> 00:15:17,660 As you know, professional programmers, we like debuggers. 280 00:15:17,920 --> 00:15:18,780 I love debuggers. 281 00:15:18,980 --> 00:15:25,000 There's nothing faster with a bug to go stick at a breakpoint and then look at all your parameters, see all your values. 282 00:15:26,560 --> 00:15:31,140 But when it's running our hardware, I don't know of a debugger that runs on that. 283 00:15:31,380 --> 00:15:35,440 Maybe there's one now, but when I started the project, there wasn't a debugger that would tell you what was going on the hardware. 284 00:15:35,520 --> 00:15:38,160 And so it was always putting these output statements. 285 00:15:39,320 --> 00:15:40,920 And I'm learning a new language. 286 00:15:42,240 --> 00:15:43,880 You know, it was so tedious. 287 00:15:44,440 --> 00:15:47,560 So I thought, why isn't there a simulator? 288 00:15:47,840 --> 00:15:49,100 This is a simulator for everything else. 289 00:15:50,100 --> 00:15:55,000 I Google and I found some very complicated things online and I couldn't get them to work. 290 00:15:55,080 --> 00:15:58,780 I thought, you know, let me just see what Opus is going to do with this. 291 00:15:58,940 --> 00:16:01,400 So I expect out what a simulator would work. 292 00:16:01,740 --> 00:16:03,780 It took me like several days to iterate on it. 293 00:16:04,500 --> 00:16:10,420 And unbelievable, you can hold up a box with the hardware right next to the simulator, same speed, everything. 294 00:16:10,680 --> 00:16:15,360 So the simulator actually uses those timings I created for each of the calls. 295 00:16:15,520 --> 00:16:20,540 So it knows exactly how long it takes on the S3 to execute each of the calls. 296 00:16:21,080 --> 00:16:24,500 So it knows how to do the exact same speed and color. 297 00:16:24,520 --> 00:16:25,540 It knows bitmaps. 298 00:16:26,000 --> 00:16:27,600 It looks exactly like the hardware. 299 00:16:27,680 --> 00:16:28,380 Oh, that's great. 300 00:16:28,640 --> 00:16:29,720 But you can debug it. 301 00:16:30,460 --> 00:16:32,720 You could throw it in the debugger and you know what's going on. 302 00:16:32,820 --> 00:16:35,000 So that, to me, that was like really fast. 303 00:16:35,660 --> 00:16:40,580 So you mentioned that you're really into theme parks and you have another project on GitHub called theme park weights, 304 00:16:40,760 --> 00:16:45,240 where you've used an API, I believe, to display all the wait times on these devices. 305 00:16:46,399 --> 00:16:50,580 Is that what people are using out in the field that are purchasing this from you, 306 00:16:50,640 --> 00:16:55,920 that they're also into theme parks and they want to understand what the wait times are out at the different theme parks around the world? 307 00:16:56,880 --> 00:16:57,720 That's exactly it. 308 00:16:58,980 --> 00:17:07,220 So the use case here is that people have scheduled a big vacation and it's six months out and they want to get their kids excited. 309 00:17:07,380 --> 00:17:08,680 So there's a countdown on it. 310 00:17:09,459 --> 00:17:15,520 And so they can stick that in the kitchen and every morning the kids can say, all right, here's what's going on at Disney today. 311 00:17:16,180 --> 00:17:17,160 Look at that cute animation. 312 00:17:17,880 --> 00:17:18,740 You know, isn't that going to be great? 313 00:17:18,880 --> 00:17:21,560 Look, we've got only 93 more days. 314 00:17:22,520 --> 00:17:22,980 Well, that's great. 315 00:17:23,120 --> 00:17:24,459 Build that anticipation up. 316 00:17:25,160 --> 00:17:25,420 Yes. 317 00:17:25,620 --> 00:17:27,819 And, of course, I just like having it in my office. 318 00:17:28,760 --> 00:17:32,380 I think my wife's tired of it by now, but I'm still in my office. 319 00:17:33,140 --> 00:17:34,160 What's next for ScrollKit? 320 00:17:34,880 --> 00:17:36,060 I was just thinking about that. 321 00:17:37,100 --> 00:17:42,340 And I was thinking I really want to make the animation more complicated. 322 00:17:42,660 --> 00:17:49,340 Because right now it can do simple little things, but I thought it would be fun to try to do simple games on it. 323 00:17:49,840 --> 00:17:54,620 Like turn it upside down and do Tetris or asteroids or a scroller game. 324 00:17:55,640 --> 00:17:58,680 If people want to learn more about ScrollKit or your work, where should they go? 325 00:17:59,540 --> 00:18:02,300 Well, ScrollKit is at scrollkit.dev. 326 00:18:02,980 --> 00:18:05,240 And it's got a whole bunch of sample animations. 327 00:18:05,660 --> 00:18:12,780 Every single effect you can do has sample code and then an animated gift showing what it should look like. 328 00:18:12,920 --> 00:18:13,660 So it's fun. 329 00:18:13,660 --> 00:18:14,380 You just look at it. 330 00:18:15,160 --> 00:18:17,940 My personal work is just CZEI.org. 331 00:18:18,840 --> 00:18:20,260 Last question I ask each guest. 332 00:18:20,700 --> 00:18:22,200 You're starting a new project or prototype. 333 00:18:22,740 --> 00:18:23,940 Which board do you reach for? 334 00:18:24,540 --> 00:18:25,860 Which board do I reach for? 335 00:18:26,680 --> 00:18:29,700 I have been doing Unix since BSD. 336 00:18:30,160 --> 00:18:34,320 And so Raspberry Pis are just like, they're so capable. 337 00:18:34,860 --> 00:18:37,660 And I've, you know, you can SSH-in into them. 338 00:18:37,800 --> 00:18:40,800 So to me, that's comfort zone, right? 339 00:18:40,990 --> 00:18:45,120 And so trying to use the S3 was me trying to stop using the same ball. 340 00:18:46,860 --> 00:18:48,380 Michael, thanks so much for coming on the show. 341 00:18:49,340 --> 00:18:50,480 Hey, thank you. Appreciate it. 342 00:18:52,000 --> 00:18:54,020 Thank you for listening to The CircuitPython Show. 343 00:18:54,580 --> 00:18:57,279 For show notes and transcript, visit www.circuitpythonshow.com. 344 00:18:59,340 --> 00:19:01,160 Until next time, stay positive.