3
Answers

How to do this in C#?

gongdehui

gongdehui

20y
2.1k
1
//VC++ : PackData(CString strInput) { CString strReturned; char nLength = strInput.GetLength() + 2; char b= 0x03; char zero = 0x00; strReturned.Format("%c%c", nLength, b); strReturned += strInput; for(int i = 0;i<(32 - nLength); i++) strReturned += zero; return strReturned; } what does the identical c# code look like? Thanks!
Answers (3)
0
Sagar  Pandurang Kap
NA 2.7k 7.6k 7y
HI Munish ,
Yes,Arduino s/w is firstly a web editor and compiler too.You need to download s/w and environment and attaching hardware and then compile and run.
For more info Refer to  link below : -
 
https://www.arduino.cc/en/Main/Howto 
Accepted
1
Munish A
NA 1.9k 42.2k 7y
Thank you Sagar for your valuable help.....