Description
Hello,
I dont know much about programming the Adafruit. Mine is a Feather 32U4. I have managed to gather code from everywhere, glue it together and make it work. But now that I need to add a few thing, it started to break 🙂
I need a real programmer who won't look too much for code on internet but will do it himself.
I have bunch of include that are probably unnecessary and also I would like to know the best way to do this program.
Data is coming from a Cycle Analyst via a serial ports operate at 9600 bauds (1)The program must take data from the hardware serial and send it through bluetooth using ble - UART. I get about one line of data every second. A line if between 12-18 number (as char) with a low precision.
In this example, a line is about 100 char, but it can be more but not twice as much, each value is tab separated (\t) and the line is terminate with a \r
- 21:39:09 2.8833 12.40 0.07 0.00 0.0000 0.0 0.0 0 0.0 0.00 0.99 0.00 -1.1996 -0.01 1V
- 21:39:10 2.8834 12.41 0.07 0.00 0.0000 0.0 0.0 0 0.0 0.00 0.99 0.00 -1.1996 -0.01 1V
- 21:39:11 2.8834 12.41 0.07 0.00 0.0000 0.0 0.0 0 0.0 0.00 0.99 0.00 -1.1996 -0.01 1V
- 21:39:12 2.8834 12.41 0.07 0.00 0.0000 0.0 0.0 0 0.0 0.00 0.99 0.00 -1.1996 -0.01 1V
- 21:39:13 2.8834 12.41 0.07 0.00 0.0000 0.0 0.0 0 0.0 0.00 0.99 0.00 -1.1996 -0.01 1V
- 21:39:14 2.8834 12.41 0.07 0.00 0.0000 0.0 0.0 0 0.0 0.00 0.99 0.00 -1.1996 -0.01 1V
- 21:39:15 2.8834 12.41 0.07 0.00 0.0000 0.0 0.0 0 0.0 0.00 0.99 0.00 -1.1996 -0.01 1V
- 21:39:16 2.8834 12.41 0.07 0.00 0.0000 0.0 0.0 0 0.0 0.00 0.99 0.00 -1.1996 -0.01 1V
The time is not part of the data, it is just to show the rate at which the data arrive
in the even loop, I also want to look it data was send to Feather via ble - UART (this is where my problem started 🙂 Those will be used as command to open a switch or to reboot the Feather, etc
If you are interested. We can talk about the price.
I am using the feather with my solar eBike. https://amaliasolar.wordpress.com/photo-video/
Thank you