Menboy321

u/Menboy321


r/arduino•

Hello,

I’m trying to read a co2 sensor and display the information on a lcd. I want to update it every 0.5 seconds. The problem is that I also want a piezo to beep twice every 3 seconds if the value is above 1000ppm. Like this:

void loop() { tone(piezo, 500); Delay(200); noTone(piezo); Delay(200); tone(piezo, 500); Delay(200); noTone(piezo); Delay(3000); }

I hope thats readable but you can find a properly formatted version and the rest of my code here: https://forum.arduino.cc/index.php?topic=708306.0.

This works, but if I put it in a loop which is also doing other things (updating the lcd) it will delay that loop, causing the timing to be messed up. How do both of these

12

I bought a switch last week and got Zelda and Mario Kart 8 with it. I'm looking for a game that isn't limited by a story, because I can buy one more game and I probably won't be buying more games anytime soon. Preferably online as well so I can play with my friends. I was originally thinking of Splatoon or Smash, but reviews say both of them are awesome so I just don't know what to buy. Feel free to post other suggestions in the comments!

View Poll

116

r/robloxgamedev•

Hello,

I have a problem with my script, I have a numbervalue inside the workspace and a mesh with a script in it inside the workspace. What I am trying to do is use the script inside the mesh to change the numbervalue but it wont let me. It doesnt give me an error, it just doesnt do anything. I am also editing the numbervalue in a script in the serverscriptservice.

Does anyone know a solution?

Thanks in advance

110

r/blenderhelp•

Hello,

I am trying to paint my mesh in blender, but I cant figure out how to properly do it. I currently have a base color texture, but have all kinds of problems like some faces cant be painted on, and the ones that can copy everything painted on them to another face. What I really want is just to be able to paint basic colors on a 2d map of the object.

Please help

11

r/robloxgamedev•

local car = script:WaitForChild("Car").Value

local Seat=car.Seat

local DriveFL=car.DrivingPartLF.HingeConstraint

local DriveFR=car.DrivingPartFR.HingeConstraint

local DriveBL=car.DrivingPartLB.HingeConstraint

local DriveBR=car.DrivingPartRB.HingeConstraint

local SteerFL=car.SteeringPartLF.HingeConstraint

local SteerFR=car.SteeringPartFR.HingeConstraint

local UserInputService=game:GetService('UserInputService')

while Seat.Occupant do

wait()

local player = game.Players:GetPlayerFromCharacter(Seat.Occupant.Parent)

if player then

if UserInputService:IsKeyDown(100)==true then

	if SteerFR.TargetAngle\~=32 and SteerFL.TargetAngle\~=32 then

SteerFR.TargetAngle=32

SteerFL.TargetAngl

14

r/robloxgamedev•

Hello, I am a beginner in scripting and I ran into a problem. I dont really know how to use tonumber. I want to convert the Text variable, which is 999999999 to a number(if I run it without doing anything it gives the error: attempt to compare string with number). I currently have this:

>local Players=game:GetService("Players")

local player=Players.LocalPlayer or Players:GetPropertyChangedSignal("LocalPlayer"):wait()

local Text=script.Parent.Text

local a=tonumber(Text) --This is most likely wrong

while true do

script.Parent.Text=player.leaderstats.Money.Value		

if a>9999999999 then

Text='>1B'

end

end

This times out when the game starts. Why and how do I fix this?

&a

112

r/ASRock•

Hello, I have a problem with polychrome on my b450 steel legend. I have gskill ram (it is officially supported) and the dram option is just greyed out. Does anyone have any solutions?

Btw, my led strip also really stutters when changing color in rainbow mode, is this normal?

Thanks in advance

15


r/Windows10•

Hello, I just bought the xbox game pass for pc, but when trying to install my games I discovered I cant install anything on the microsoft store. If I press install, literally nothing happens. It also doesnt word when im installing with the xbox app. Does anyone know a solution to this problem?

Thanks in advance

11

Hello, I am looking for a game to play with my friend. I have searched very long and am sick of it. The game has to be multiplayer/coop, preferably not a (first person) shooter, no >18 content and not more expensive than $30. Just some suggestions of games you like thaat you think we might enjoy.

Games we already have and like:

Scrap Mechanic

Rocket league

Human: Fall Flat

Minecraft

We Were Here Together (refunded because it was too short to spend 12 euros on)

Steep

​

Thanks in advance

311


r/SFWdeepfakes•

Hello, I am doing a school project on deepfakes and read about a type of deepfake which changes the mouth of the person to someone elses (sorry for bad explanation). Example: I say cheese and can train the images of me saying that, with images of someone else, resulting in someone else saying what I said.

Is there a program for this?

Thanks in advance

11