Find Jobs
Hire Freelancers

Help converting a small piece of code to Javascript

$10-30 USD

Lukket
Slået op cirka 7 år siden

$10-30 USD

Betales ved levering
I am writing a piece of code that is going to interface with a serial gateway for my home audio equipment. I found an example online which appears to be written in lua that is interacting with the response and I do not understand what it is doing. I need to some to help me convert this code into JavaScript so it works the same way, just in a language I understand. The code is attached. I need each of the functions to be their own JS function. They should be as follows, based on what I am reading in the attached file. -- Build full hex strings -- Generate array from buffer -- Parse hex strings -- Return state status -- Return source status -- Display source string -- Determine which zones are set to strings source - Display keypad messages This is a response I got back from the system in HEX format which should be the same thing that is being passed through the provided code: Receive HEX: 0x2 0x0 0x0 0x6 0x0 0x3f 0x3f 0x0 0x0 0x0 0x0 0x0 0x0 0x86 0x2 0x0 0x2 0x5 0x80 0x1 0xc1 0x0 0x0 0xcd 0x0 0x4 0x0 0x1c Let me know if you understand what I am asking here. I know nothing about Lua so I need that code converted into a JavaScript equivalent.
Projekt-ID: 13226336

Om projektet

5 forslag
Projekt på afstand
Aktiv 7 år siden

Leder du efter muligheder for at tjene penge?

Fordele ved budafgivning på Freelancer

Fastsæt dit budget og din tidsramme
Bliv betalt for dit arbejde
Oprids dit forslag
Det er gratis at skrive sig op og byde på jobs
5 freelancere byder i gennemsnit $38 USD på dette job
Brug Avatar.
can you send me code? lua is interpreted language which complete the code u pass n return the output. let's discuss.
$55 USD på 1 dag
5,0 (3 anmeldelser)
3,0
3,0
Brug Avatar.
Hi Thshadow, I am competitive to this kind of task, can take good care of this project. In fact, I already done related to this job before. Let me know the best of your time so we can discuss further based on your requirements and we can move forward to the next step. Thanks, Joseph C Ocero
$49 USD på 0 dag
5,0 (2 anmeldelser)
1,8
1,8
Brug Avatar.
I am an expert web developer. I can any kinds of simple or complex website development tasks. You can chat with me now in freelancer about your project. I am an expert web developer. I can complete your project very quickly with very cheap price.
$25 USD på 1 dag
0,0 (0 anmeldelser)
0,0
0,0

Om klienten

Flag for UNITED STATES
Maricopa, United States
5,0
22
Betalingsmetode verificeret
Medlem siden apr. 2, 2007

Klientverificering

Tak! Vi har sendt dig en e-mail med et link, så du kan modtage din kredit.
Noget gik galt, da vi forsøgte at sende din mail. Prøv venligst igen.
Registrerede brugere Oprettede jobs i alt
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Indlæser forhåndsvisning
Geolokalisering er tilladt.
Din session er udløbet, og du er blevet logget ud. Log venligst ind igen.