获取字符串中某一位的Asc码

支持芯片: SHMICTRL系列芯片 ESP32-S3系列

int idxof(str s,int n);

示例

int a;
a=idxof("ABC",0);   //a=0x41

注意