Work out how to make two multiple lines add head to tail continuously in C (WinAVR for Teensy microcontroller)

Completed Posted 5 years ago Paid on delivery
Completed Paid on delivery

The project is probably very simple, however I have spent the last 12 hours on it and haven't gotten anywhere. I have written a function that draws 10 lines end to end with increasing angle so it forms a curve. I want to get the x and y positions from the end of the 10th line, then set this as the new starting coordinates for a second set of 10 lines so I always have at least 10 lines on the screen at a time.

I have written 1 for loop for the first ten lines, and passed the last x and y coordinates for the 10th line to another for loop which uses that as the starting coordinates for a second set of 10 lines. The problem is, I cannot then pass the last x and y coordinates from the second for loop to be used as the starting point for the first again. I have tried everything and the first for loop refuses to draw if I force it to use values that are derived originally from itself.

The project is very small, but you will be required to install WinAVR, GCC compiler and some C libraries. I have budgeted $100 for the help.

Please note, this is not a project as such. It is a very specific coding question I am looking for help and understanding with.

Arduino C Programming Full Stack Development Microcontroller

Project ID: #17096595

About the project

5 proposals Remote project Active 5 years ago

Awarded to:

NSolutionDev

Hello. I a really interest on this project. It is good if we can working together on this. Thank you very much and best regard sir.

$155 AUD in 0 days
(26 Reviews)
5.5

5 freelancers are bidding on average $107 for this job

deeproadrash

Hello, Deep is here from India. I can help you to solve this issue. I have WinAVR installed. You have to provide me libraries you have used. Thanks

$80 AUD in 1 day
(24 Reviews)
5.1
vijithgkurup

I have a good knowledge in C and C++ programming. I have good work exposure in Arduino programming to .Award me this project .I will complete it.

$77 AUD in 15 days
(0 Reviews)
0.0