评论:Scratch 2.0:为你的 Raspberry Pi 带来的全新功能 https://www.raspberrypi.org/blog/scratch-2-raspberry-pi/用 Raspberry Pi 教学、学习和创造 2021年9月19日星期日 14:06:02 +0000 每小时 1 https://wordpress.org/?v=7.1.5 By: Rajib 作者:Paul https://www.raspberrypi.org/blog/scratch-2-raspberry-pi/#comment-1369208 2017年12月16日星期六 16:16:48 +0000 https://www.raspberrypi.org/?p=33552#comment-1369208 你好,
当我在 RPi3 上的 Scratch 2 中尝试“从文件上传声音”时,对话框打开了,但似乎卡住了,或者至少我无法导航到声音文件所在的其他目录,也无法取消或关闭该对话框。所以我必须断电并重新启动。在我敲这些字的时候,我把 mp3 文件移到了对话框打开的目录中,它允许我选择一个文件并处理或转换了它,但当我要导入第二个文件时,对话框又卡住了。无论如何,我可能离解决更近了一步,但还有其他人遇到导入声音文件的这个问题吗? ]]>
作者:John Steven https://www.raspberrypi.org/blog/scratch-2-raspberry-pi/#comment-1360573 2017年11月26日星期日 08:04:48 +0000 https://www.raspberrypi.org/?p=33552#comment-1360573 回复约翰·厄文.

我已在树莓派 3 上为 Scratch 2 编写了一个 PicoBoard 扩展。欢迎通过电子邮件联系我。

]]>
作者:Simon Long https://www.raspberrypi.org/blog/scratch-2-raspberry-pi/#comment-1355656 2017年11月16日星期四 10:51:12 +0000 https://www.raspberrypi.org/?p=33552#comment-1355656 回复约翰·厄文.

我们很可能只能为 Scratch 2 提供自家硬件的支持;不过该应用的扩展接口相对易于编程(使用 JavaScript),添加新扩展只需编写对应的 .js 文件,将其放入 /usr/lib/scratch2/scratch_extensions 目录,并在同目录下的 extensions.json 文件中添加一行描述该新扩展即可。GPIO 和 SenseHAT 的相关文件即位于该目录中,可作为编写扩展的参考范例。

]]>
作者:John Erwin https://www.raspberrypi.org/blog/scratch-2-raspberry-pi/#comment-1355372 2017年11月16日星期四 00:31:26 +0000 https://www.raspberrypi.org/?p=33552#comment-1355372 很高兴在 PI 上看到 scratch2,这样我就可以在课堂上和学生们一起使用它了。

是否有望加入 PICOBOARD 扩展功能,以便我在 Scratch 2 中使用它?目前我正使用 Scratch 1.4 来连接 PICOBOARD 的输入设备(温度、光线、噪音传感器、滑动变阻器及开关)。

http://www.picocricket.com/picoboardsetupUSB.html

将 PicoBoard 用于输入、GPIO 引脚用于输出,是一种不错的组合方案。

]]>
作者:Chip https://www.raspberrypi.org/blog/scratch-2-raspberry-pi/#comment-1344825 2017年10月28日星期六 10:12:19 +0000 https://www.raspberrypi.org/?p=33552#comment-1344825 回复克里斯蒂安.

这是Broadcom芯片的原生行为。详见以下文档第102页:https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2835/BCM2835-ARM-Peripherals.pdf

(论坛帖子指出,Pi 3及后续Pi 2所采用的bcm2837芯片,在此方面表现与bcm2835类似。)

]]>
作者:JJ https://www.raspberrypi.org/blog/scratch-2-raspberry-pi/#comment-1339433 2017年10月13日星期五 20:34:21 +0000 https://www.raspberrypi.org/?p=33552#comment-1339433 我们还能按照这里的指南控制 GPIO 引脚吗?例如设置 LED 灯的亮度?

https://www.raspberrypi.org/documentation/usage/scratch/gpio/README.md

我已尝试,但似乎无效。仅需确认一下。

]]>
作者:Heiko Idensen https://www.raspberrypi.org/blog/scratch-2-raspberry-pi/#comment-1332628 2017年9月23日星期六 21:26:18 +0000 https://www.raspberrypi.org/?p=33552#comment-1332628 回复迈克尔·曼纳尔(Michael Mannall).

来自以下用户的有趣提问:
迈克尔·曼纳尔,2017年6月30日凌晨1:55

“……一款替代 Minecraft 的方案(尽管仍在开发中)是 Minetest。若有人能开发出稳定可靠的 GPIO API 接口,它或将比树莓派版 Minecraft 更具优势。”
德国教师米雷克·汉克尔(Mirec Hancl)编写了一个模块,以支持
树莓派(Raspberry Pi)与 PiFace
http://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/wip-mods/2311713-real-robots
…此处提供了一些适用于 PiFace 的 Python 示例:
http://www.piface.org.uk/guides/Install_PiFace_Software/First_steps_with_PiFace_Digital_Python/
…我们希望他能加入我们的社区,共同增强 Minetest 在教育场景中的应用……
(抱歉,我们才刚刚起步——并非所有内容都已翻译为英文)
Edutest 模组为教育工作者提供了一个图形用户界面(GUI)前端。
https://github.com/minetest4edu/edutest_minetest-education
…您是否了解基于 Raspberry Pi(具备“可靠的 GPIO 访问能力”)的 Minetest 项目?这将非常有趣!:-)
来自德国的诚挚问候,Heiko Idensen
heikoidensen@gmail.com

]]>
作者:Antonio Barros https://www.raspberrypi.org/blog/scratch-2-raspberry-pi/#comment-1328491 2017年9月11日星期一 14:45:43 +0000 https://www.raspberrypi.org/?p=33552#comment-1328491 你好,

如何将用于设置引脚输出和读取当前引脚状态的自定义积木翻译为葡萄牙语?
提前感谢。

]]>
作者:Clementine https://www.raspberrypi.org/blog/scratch-2-raspberry-pi/#comment-1322851 2017年8月25日星期五 13:30:33 +0000 https://www.raspberrypi.org/?p=33552#comment-1322851 你们研究过 Whiskers 吗?它是 Squeak 下的 Scratch 2 移植版,事实证明它比 Flash 更强大、更快,但需要一些稳定性和集成工作。 作者:Chris https://www.raspberrypi.org/blog/scratch-2-raspberry-pi/#comment-1317354 2017年8月13日星期日 17:18:01 +0000 https://www.raspberrypi.org/?p=33552#comment-1317354 有没有办法在 RPi 开机时自动以全屏方式启动 Scratch 并加载一个项目?