📜  arduino 获取数组的索引 - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:41.799000             🧑  作者: Mango

代码示例1
const int arysz = 6;
int ary[arysz] = {4, 32, 6, 2, -1, 5}
int wantedval = -1;
int wantedpos;
for (int i=0; i