当前位置:网站首页>Arduino string to hexadecimal number for large color serial port screen.
Arduino string to hexadecimal number for large color serial port screen.
2022-06-26 02:46:00 【Barefoot_ Menon】
String Zi_Fu_Chuan = " I'm Chinese ABCD4567.879";// character string
void setup() {
Serial.begin(115200);
}
void loop() {
delay(1000);
// String rotation 16 Base number
Serial.println(Zi_Fu_Chuan_Zhuai_16_Jin_Zhi_Shu(Zi_Fu_Chuan));
}
/************************************************** String rotation 16 Base number **************************************************/
String Zi_Fu_Chuan_Zhuai_16_Jin_Zhi_Shu(String Zi_Fu_Chuan) {
String _16_Jin_Zhi_Shu = "";
for (int i = 0; i < Zi_Fu_Chuan.length(); i++) {
_16_Jin_Zhi_Shu += String(Zi_Fu_Chuan[i], HEX);
}
return _16_Jin_Zhi_Shu;
}
边栏推荐
- 我在中山,到哪里开户比较好?网上开户是否安全么?
- 【系统架构】-如何评估软件架构
- Sloppy formula
- 股票开户怎么开户?网上开户是否安全么?
- Google 推荐在 MVVM 架构中使用 Kotlin Flow
- The difference between like,%, - in database query SQL
- 官方零基础入门 Jetpack Compose 的中文课程来啦!
- Gd32 ADC acquisition voltage
- 附加:HikariCP连接池简述;(并没有深究,只是对HikariCP连接池有个基本认识)
- Breadth first traversal of Graphs
猜你喜欢

Camtasia 2022全新版超清錄制電腦視頻

IPhone 13 screen stuck black, unable to shut down? How to solve

In depth good article: what is supernetting?

【解决】联想拯救者vmware启动虚拟机蓝屏重启问题

OpenAPI 3.0 specification - Food Guide

Fresh graduates talk about their graduation stories

Win10 computer power management turns on excellence mode

Interviewer: please name four ways to exchange the values of two variables without using third-party variables

Cvpr2022 𞓜 future transformer with long-term action expectation

分享一些在内网操作的远程办公经验| 社区征文
随机推荐
R 语言马尔可夫链蒙特卡洛:实用介绍
WPF window centering & change trigger mechanism
使用 AnnotationDbi 转换 R 中的基因名称
Blazor University (33) form - editcontext, fieldidentifiers
网上股票开户安全吗?
官方零基础入门 Jetpack Compose 的中文课程来啦!
College Students' big factory road
基于 ovarian 数据集 进行生存分析
喜讯 | 祝贺Apache Linkis(incubating) 社区新增5位Committer
ORB-SLAM系列论文翻译笔记
How to open a stock account? Is it safe to open an account online?
【图像过滤】基于matlab GUI图像过滤系统【含Matlab源码 1913期】
[image filtering] image filtering system based on Matlab GUI [including Matlab source code 1913]
Problem solving process of no internet access
How to add a regression equation to a plot in R
Introduction to bloc: detailed explanation of cube
Magnifier case
Little p weekly Vol.10
What happens when the cloud answer does not display the third-party login button
用指南针交易股票安全吗?指南针是如何交易股票的,需要开户吗