Largest Series Product was today’s exercise. I tried using LINQ to compute the product, but I just got syntax errors and eventually gave up and used normal loops. The first community solution did use LINQ and it read well too. I guess I need to practice the LINQ commands more. I should have been using Skip and Take. Can’t say I remember using them before. Oh well, at least it works. Well once I put in about as much code for unstated exception requirements as I did code.

So … for the Pico book. Remember yesterday when I said lets put “Hello World” on an LCD display. Turns out, the kit I bought to go with this doesn’t include one. It has a future chapter about connecting to a small OLED or some neo-pixels but of course the kit doesn’t come with those either. Bummer. Maybe I will order one and come back and do it in the future.

Anyway, I got up through Chapter 7, and I only went that far so I could have something to take a picture of. In the book they didn’t use the breadboard and switch just a paperclip. I do have a breadboard some wire and a switch, so I wanted to use that. This turns on the light for about a second when you push the button.

The code is at: https://github.com/seggiepants/Programming_the_Pico_2e