“Arduino Valon-I”的版本间的差异
来自YFRobotwiki
第25行: | 第25行: | ||
https://v.douyin.com/nC8JuZZrTwk/ | https://v.douyin.com/nC8JuZZrTwk/ | ||
+ | |||
<html> | <html> | ||
<iframe id='test' width='40%' src='https://www.douyin.com/video/7175078570488925495' frameborder=0 referrerpolicy="unsafe-url" allowfullscreen></iframe> | <iframe id='test' width='40%' src='https://www.douyin.com/video/7175078570488925495' frameborder=0 referrerpolicy="unsafe-url" allowfullscreen></iframe> | ||
第30行: | 第31行: | ||
</html> | </html> | ||
+ | <html> | ||
+ | <head> | ||
+ | <style> | ||
+ | body { | ||
+ | margin: 0; | ||
+ | padding: 20px; /* 根据实际需求调整 */ | ||
+ | } | ||
+ | </style> | ||
+ | </head> | ||
+ | <body> | ||
+ | <iframe | ||
+ | id="test" | ||
+ | width="40%" | ||
+ | src="valon-arduino-迷宫小车.mp4" | ||
+ | frameborder="0" | ||
+ | referrerpolicy="unsafe-url" | ||
+ | allowfullscreen | ||
+ | onload="adjustIframeHeight()" | ||
+ | ></iframe> | ||
+ | <script> | ||
+ | function adjustIframeHeight() { | ||
+ | const iframe = document.getElementById('test'); | ||
+ | // 根据视频的宽高比调整比例,例如16:9使用0.5625 | ||
+ | const aspectRatio = 0.7; // 根据实际视频比例修改 | ||
+ | iframe.style.height = `${iframe.clientWidth * aspectRatio}px`; | ||
+ | } | ||
+ | |||
+ | // 初始调整和窗口变化时重新调整 | ||
+ | window.addEventListener('load', adjustIframeHeight); | ||
+ | window.addEventListener('resize', adjustIframeHeight); | ||
+ | </script> | ||
+ | </body> | ||
+ | </html> | ||
== Valon-I Arduino 扩展模块包 == | == Valon-I Arduino 扩展模块包 == |
2025年3月21日 (五) 13:46的版本
Valon-I 可编程教育机器人
Valon-I 是一款面向创客教育而设计的可编程机器人。Valon机器人分为三个版本,分别支持arduino,microbit,掌控板三种主板,用户可根据主板选择版本。
官方购买途径:企业店铺,Valon-I Arduino
小车开箱视频:待更新。。
- 支持arduino IDE c 语言编程。
- 支持Mixly 图形化编程,项目地址:https://gitee.com/yfrobot/Valon-ILibForMixly
Valon-I 迷宫玩法视频演示(仅支持Arduino IDE编程)
https://www.ixigua.com/iframe/7175078621948838438
https://v.douyin.com/nC8JuZZrTwk/
Valon-I Arduino 扩展模块包
返回首页 | 访问YFRobot论坛 | 技术交流群 |
淘宝企业店 | 淘宝直营店 | 联系我们 |