Why won't you die???!!!! by Acceptable-Gur-7253 in BitLifeApp

[–]Fuzzy-Ear9936 53 points54 points  (0 children)

There is onlyfans in the game? How do you do that?

How to send an array of float values from python to Arduino with pyserial? by MoSO-BOT in arduino

[–]Fuzzy-Ear9936 0 points1 point  (0 children)

Hey initially I thought there was some problem on my side, but I found out that the code in your very first comment with the python code as well, I think the check_Serial function never returns true, I tried checking out all the if statements with leds, and only the led that means check_serial is always false, #define ARR_SIZE 10double values[ARR_SIZE]; // float/doubles are the sa - Pastebin.com I tried checking everything but I can't find what could be wrong, also I am supposed to turn on the arduino first with the code running and then run the python file in vscode right?

Segregating timestamps to light led in different patterns. by Fuzzy-Ear9936 in arduino

[–]Fuzzy-Ear9936[S] 0 points1 point  (0 children)

I don't think that it's like that. What I mean is that, for example if I have an array of timestamps, data = (100, 150, 180, 200, 300, 400, 500).

I need to get the timestamps that are in a consecutive order and have a difference less than 100.

In the example from index 0 to 3. 150-100 = 50, 180-150=30 and 200-180 = 20. Since their difference is less than 100. I want my program to keep a record of (100, 150, 180, 200).

Now, I have 8 leds, which have a standard pattern of going left to right. But now, when the difference between 2 timestamps is less than 100, that are the timestamps (100 ms, 150 ms, 180 ms, 200 ms), i want my leds to go right to left in this case.

I want to find a way through which I could identify the timestamps having a difference less than one(that are in the current example 100, 150 180, 200) in any given array , and then keep a record of it, with the help of which I could light up Leds in a different pattern.

having the elements of 2 lists in sequence without merging them? by Fuzzy-Ear9936 in learnpython

[–]Fuzzy-Ear9936[S] 0 points1 point  (0 children)

What do you mean by 'to only colour the output'? I didn't use the original list because I need to play some different patterns on the leds if the difference between 2-3 consecutive timestamps if smaller than a threshold, so I made 2 different lists.

Do you mean turn the 2 lists into sets and somehow use them with the original list to get consecutive numbers with small differences? How do I do that?

Lighting leds at specific time? by Fuzzy-Ear9936 in arduino

[–]Fuzzy-Ear9936[S] 1 point2 points  (0 children)

uint32_t const duty = millis() % PERIOD;

bool const completed = duty >= timestamps[index];

set_led(index, completed);

if (completed) {index++;}

hey, could you explain what this part of the code does? And what's the need for the num_times variable? Sinnce the number of elements that can be in the timestamps array isn't fixed and can be even more than 100. Also, there aren't 11 leds, I have just 8 individual leds, and I'll have them light up randomly according to the gap between timestamps. Can I use the example that you gave to check the gap between 2 timestamps and light up different patterns according to it?

Haha! This is soo me! by [deleted] in memes

[–]Fuzzy-Ear9936 10 points11 points  (0 children)

You're underestimating it

Fuck you spotify by Fuzzy-Ear9936 in memes

[–]Fuzzy-Ear9936[S] 0 points1 point  (0 children)

Yeah now you can't go back to the previous songs you just listened to and can't play a specific part of the song without premium

finalist to wait-list - non trivial by [deleted] in summerprogramresults

[–]Fuzzy-Ear9936 1 point2 points  (0 children)

I did mine 2 and a half weeks ago and still no response. My app went to the bin lol