Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/ruby/21.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby 如何在没有RaspberryPi的情况下开发和测试Raspberry Pi(主要是GPIO)应用程序?_Ruby_Testing_Raspberry Pi_Gpio - Fatal编程技术网

Ruby 如何在没有RaspberryPi的情况下开发和测试Raspberry Pi(主要是GPIO)应用程序?

Ruby 如何在没有RaspberryPi的情况下开发和测试Raspberry Pi(主要是GPIO)应用程序?,ruby,testing,raspberry-pi,gpio,Ruby,Testing,Raspberry Pi,Gpio,我正在开发覆盆子Pi的应用程序,这是一个无线时钟。我使用PiPiper用Ruby编写它。我想要实现的是——我想把它写在我的笔记本电脑上,而不需要在实际的Raspberry Pi上不断测试输出和输入。我想写一些代码,编写测试和存根/模拟/伪GPIO信号。实现这一目标的最佳方式是什么(我不是问具体的软件,而是问最佳实践和您的解决方案)

我正在开发覆盆子Pi的应用程序,这是一个无线时钟。我使用PiPiper用Ruby编写它。我想要实现的是——我想把它写在我的笔记本电脑上,而不需要在实际的Raspberry Pi上不断测试输出和输入。我想写一些代码,编写测试和存根/模拟/伪GPIO信号。实现这一目标的最佳方式是什么(我不是问具体的软件,而是问最佳实践和您的解决方案)