Completed

Need Arduino Code to receive 256 Bytes from Serial Port

This project was successfully completed by mechatronicsengr for $26 SGD in a day.

Get free quotes for a project like this
Employer working
Project Budget
$12 - $30 SGD
Completed In
1 day
Total Bids
2
Project Description

Using Arduino UNO. I have no issues to receive 32 Bytes. Need to receive 128 Bytes.

void loop()

{

if ([url removed, login to view]() == 32)

{

int i = 0;

int j = 0;

int d[32]={0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};

for( i = 0; i < 32; i++)

{

d[i] = [url removed, login to view]();

}

for( i = 0; i < 32; i++)

{

if (d[i] == 0x11)//Verify

j++;

}

if (j == 32)//Verify

{

[url removed, login to view]("Received");

}

}

}

Using Arduino UNO, 256 Bytes sent via C# to Serial Port.

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online