Monthly Archives: April 2017

Splitting Up Text in C


Due to WordPress’s abysmal handling of code blocks this blog post is now hosted at https://majenko.co.uk/blog/

A common question I often find is:

How can I split this incoming data into parts?

It’s especially asked in conjunction with reading data through serial. So I thought I’d introduce you to two completely different approaches, each with benefits and drawbacks depending on the kind of data you are splitting.

Continue reading

Advertisements