Hi! I'm Lori. I am learning to be a "maker" of robotic and electronic projects as a hobby. This RU-vid channel (@LorisHW) contains homework videos I make for RU-vid courses I am following. I share my own original projects and tutorial videos on my other RU-vid channel @lorisrobots
Nice video, Lori. I nearly bought some of those cat LEDs but was put off because you couldn't control the colour of it yourself but, there again, cats😸😸are more difficult to train than dogs🐶🐶
It would be nice to have true RGB Cat LEDs. But these are quite fun. Looks like I can no longer post videos to Paul's channel as well. I read some on this topic and think it may be that YT has designated me as someone who is "harassing" his channel by always posting video links. This might explain why folks suddenly can't post anymore. Still the mystery continues ... Thanks for watching!
@@LorisHW I always used to use 'copy video link' in RU-vid Studio but when my comments/links were getting deleted, I tried clicking 'Share' below the video and then 'copy'. That worked really well for a while and then ... it didn't😿😿
Great job! When I learned Arduino on the R3 using the string class was discouraged because of the chance to fragment the limited (heap) memory when strings were edited (added to). Maybe it is not that big of an issue on the R4 and not a problem with your code. Thanks for the video
I think I have done several different approaches now. They all work reasonable well IMO. I have now entered the "not able to post links to homework" crowd. I tried with both accounts I have and Paul did not approve either one of them. I am assuming he is not seeing these and they are being filtered out by YT. Oh well. It was fun while it lasted. Thanks for watching!
Great tutorial Lori . Picked up the Neopixel ring you are using so that I can follow along . Taking Pauls homeworks to a new level always impresses me . Thanks for keeping me on my toes !
Nice video, Lori. I've got a sliding pot thingy too. I wonder whether it behaves like yours. I'll probably never find out because it needs soldering👎 You really ought to get yourself some purple LEDs to go with your purple arduino holder😁although mine aren't purple enough😿
Purple LEDs is a great idea! Just start soldering - I am finally feeling pretty good about it but I needed to just practice a bunch. Thanks for watching!
Very good presentation. During the 1970s I built large scale simulation models of business logistics for Fortune 500 companies. The costs of transportation were modeled, just as you did here, by piecewise linear functions. This technique earned our firm over $100,000. a shot!
Yes - piecewise linear functions is probably a better term for what I did. I have been retired for three years now and I am starting to forget my statistical terminology! Empirical modeling works well in many cases. Thanks for watching!
I had another look at your video (because I thought I would see how it would work if you used a generator rather than an array of brightnesses) and then I saw that you had a 'for i' loop inside another 'for i' loop. AARGH!!!!!!!!!!
Not exactly sizeof() returns the number of bytes in a variable type, or the number of bytes occupied by an array. So be getting the number of bytes for the entire array and then dividing it by the.number of bytes of just one element - this will give the number of items in the array. Thanks for watching!
Thanks for posting Lori one of the things I am learning right now is the Millis function so I am very glad you used it here this was very helpful to me, and I love the way you, // explain what each step is doing along the way in your code, this really helps me to learn I am very thankful for people like you that don't mind helping others out in this area. I hope you have a blessed day.
I add lots of comments to my code so that I can remember what I was doing/thinking as I put the program together. That way when I look at it a year later, I can understand why I coded it that way. Glad you find it helpful. Thanks for watching!
Nice video, Lori. How many times did you have to put a link on Paul's lesson before it appeared? I'm on 3 tries and counting😿 Instead of using millis etc have you thought of using software interrupts? They are on my to do list which is getting ever longer! btw I'm not keen on printing out just on the timing of the faster led. Imagine if the intervals had the ratio of 3:7, for example. "Ah", everyone says, "Don't use a ratio of 3:7"
I have used interrupts in micropython lots of times. Mainly for detecting button presses which is onerous (IMO) without interrupts. I will likely give that a try in Arduino code soon. Just exploring various types of coding at this point in the lessons. You could do the serial printing for each LED in its own if statement to deal with unusual timings. I have not had any issues with posting on Paul's vids but I see folks indicating that they are having issues. Not sure what is going on there. Thanks for watching!
shows why functions are useful, doing this for 10 leds would make the code long, and using a function can lead to less typing (demo code, untested) void sp(txt){ Serial.print(txt); // user can add to txt so no println needed } and in micropython vars can initialized like A = B = C = 0, or for different values, A,B,C = 0,1,2
Hey Lori I am following Paul McWhorter also, that's how I found you, and I am so glad I did I am now following you also I am an old dog trying to learn new tricks so I look forward to going through all your videos and learning from you, I like your way of thinking on this subject and explaining things. Best D.
@LorisHW Nice video, Lori. I'm treating these early lessons as an opportunity to think up more cunning ways of doing things and, of course, to try to learn C++. When I look back at some of my early videos, they seem very lame indeed👎but as you say that's how you do things when you're learning
Nice Job as always. I'm picky about what color wires are used for what too. I have a box of the pre-cut wires, but they never seem to be the right length and I end up trimming them to fit. Thanks for posting.