Lengkap

Fix my arduino code in the loop function to beep under a time constraint

IMPORTNT: I NEED THIS JOB DONE WITHIN 36 HOURS. PLEASE DO NOT APPLY IF YOU CANNOT MEET THE TIME REQUIREMENT.

In the circuit below, I am using 4 buttons, a piezo buzzer, and a Adafruit BNO055 Absolute Orientation Sensor.

The code is here: [login to view URL]

All parts of the code work correctly, except the loop function. There are two main functions to this code: CheckCalibrationButton() and CheckTimeButton(). CheckCalibrationButton() allows the user to set a threshold angle on the z-axis. CheckTimeButton() allows the user to set 3 different modes using the 3 buttons.

In the loop function, these 3 modes are tracked by the variable "timeButtonState." If timeButtonState == 1, then the buzzer beeps immediately when the angle of the sensor is below the threshold angle. If timeButtonState == 2, then the buzzer beeps when the angle of the sensor is below the threshold angle for AT LEAST 2 seconds. If timeButtonState == 3, then the buzzer beeps when the angle of the sensor is below the threshold angle for AT LEAST 4 seconds.

The only part of the code that does not work is timeButtonState == 2 and timeButtonState == 3. The buzzer will beep immediately when the sensor is below the threshold angle, instead of waiting the specified time requirements of 2 and 4 seconds.

I am hiring a freelancer to fix the code for the modes when timeButtonState == 2 and timeButtonState == 3. I am willing to be on video call with the freelancer to test and upload code on my circuit, so all the freelancer needs to do is update the code while I test live time. I need this job done within the next 36 hours and I am available anytime in the next 36 hours.

Kemahiran: Arduino, Pengaturcaraan C++, Kejuruteraan Elektrik, Elektronik, Mikropengawal

Lihat lagi: wordpress code sort function, fix perl code, fix banner code, arduino loop certain times, for loop arduino, arduino loop in a loop, arduino loop counter, arduino stop loop after time, arduino while(1), arduino while loop timer, while loop arduino, fix php code, php function delphi time, check fix webpage code, form fix page code php html, code print windows login time, html fix php code, sas code loop, fix existing code, need someone fix actionscript code

Tentang Majikan:
( 4 ulasan ) Sterling, United States

ID Projek: #18438153

Dianugerahkan kepada:

AsifShimon

hi, i have read you code. you are doing it in a very primitive manner but thats one way to do the delay. so if you want keep it that way no problem i can fix it within time. let me know if you are interested.

$30 USD dalam 2 hari
(8 Ulasan)
2.9

8 pekerja bebas membida secara purata $37 untuk pekerjaan ini

arrijal1992

hi, let me know your full code. let me help you fix this code. I guess it's about wrong while setting. best Regards, Rijal

$30 USD dalam sehari
(30 Ulasan)
5.1
ircrashed

Hello I have got your job posting “Fix my arduino code in the loop function to beep under a time constraint” and I am very much interested to work in your project. I am a circuit designer and have more than 5 ye Lagi

$30 USD dalam sehari
(36 Ulasan)
5.4
Valuesolutions

Hello, I have read the details provided and i am positive i can provide quality work,please contact me to discuss more on the project deadline and some other few things

$100 USD dalam sehari
(13 Ulasan)
4.8
kenpeacezx

I can fix your codes. Please message me to give it a try. I will review each of your code lines and give comments about the changes made. Thank you.

$30 USD dalam sehari
(1 Ulasan)
1.1
evonsystems7

Hi, Thank you for giving me a chance to bid on your project. i am a serious bidder here and i have already worked on a similar project before and can deliver as u have mentioned I have got Rich experience in Jooml Lagi

$28 USD dalam 7 hari
(0 Ulasan)
0.0
toanasahmed

Hey I m from HACKERSPACE KARACHI and we are developing this kind of projects with great efficiency. We are looking forward to work with you. Your response is highly appreciable. Thanks.

$30 USD dalam sehari
(0 Ulasan)
0.0
samyozn

Hello, I have a solution for this problem for this problem, you can accept my bid and discuss about it

$15 USD dalam sehari
(0 Ulasan)
0.0