Text String Tutorial in C Code! Tutorial using Arduino, copy/move/parsing/etc...

Kevin Darrah
Kevin Darrah
36.6 هزار بار بازدید - 5 سال پیش - Just my 2 cents in
Just my 2 cents in how to handle and manipulate text strings (Character Arrays) in C code... all shown using Arduino, but is universal on embedded systems coded in C.  Very useful stuff in here that can be used in many projects!  

It's a doozy, so here are the timestamps:

2:13 Intro, Size, Length, and Null
8:10  Concatenate
10:33 Copy and Move
16:09 Comparing two strings
17:09 Find string in another string
21:06 Parsing a string, like data separated by commas
24:50 Convert string to integers, long, float and back to string
28:00 Pass and return strings with functions
29:25 Parse data from a serial port - real example

THE CODE:
https://www.kevindarrah.com/download/...

Check out my Tindie store (trigBoard is available) https://www.tindie.com/stores/kdcircu...

Thanks to all the Patrons for dropping a few bucks in the tip jar to help make these videos happen!
Patreon: kdarrah

Twitter: Twitter: KDcircuits

For inquiries or design services:
https://www.kdcircuits.com
5 سال پیش در تاریخ 1398/07/24 منتشر شده است.
36,685 بـار بازدید شده
... بیشتر