Version 0008 is out.
First, the most important thing: you won’t get this update via the Viper IDE update mechanism…because it has been rewritten to be more reliable . Please uninstall your Viper IDE and download it again from here.
A lot of new features have been added (in order of coolness):
- An Exception Debugger and a Bytecode Explorer. The console can now recognise printed exceptions and with a click of the mouse the exception traceback is shown. If you don’t use the Viper IDE console for debug, don’t worry: just copy and paste the exception text in the exception debugger and you will get the traceback. All of this, at the cost of just 8 more bytes per Viper thread.
The Viper App! Go get it here and start playing with the included examples
- Wifi. The wifi module together with the CC3000 driver module and an almost BSD compliant socket implementation will let you write compact scripts to access the internet.
HTTP. The first version of Viper requests module is ready, with a basic but very easy to use implementation of the http protocol
JSON & MsgPack. Serialize and unserialize your objects
Udoo sopport! yes! thanks to all the users who provided invaluable feedback.
Hardware timers and advanced PWM. The hwtimers module provides a non-polling sleep with precision in the microseconds. And the pwm module now provides a blocking version of the pwm.write that produce exactly the amount of pulses you decide.
Infrared. Pwm, icu and hwtimers are used together in the infrared module to code and decode infrared signals. Go play with the TOI shield!
- Servo motors. A module for servo motor controlling coupled with an animator module (an abstract and easy to use frame interpolator) f
SPI. A module to handle spi communications with sensors and actuators directly from Python.
Uplinkable resources. You can now create html, json, txt, bin files and save them together with the bytecode on the board flash. Open them from Python as read-only files!
Virtual boards. You can now compile your scripts without a board plugged in
…and I probably forgot something
See you soon with the Photon wifi drivers and I2C