Firmware version 3

Bugs

  • This firmware has unfortunately a bug that will crash your studio if your code does an array access out of bounds dynamically. We will release a fixed firmware soon.

New

  • New basic behaviour "attentive" using detection of clapping
  • Native function math.rand() for random number generation
  • Event tap for shock detection
  • An event for each button, fired at change of state
  • Frequency generator sound.freq () for sounds
  • Management of the microphone:
    • Variable mic.intensity , reflects the intensity of the ambient volume
    • Variable mic.threshold , threshold for the event mic
    • Event mic, issued when the intensity is above the threshold
  • Two user-defined timers
  • Ability to load ASEBA behaviour from the SD card
  • The Thymio records usage statistics for scientific research. More details on the log page.

Changed

  • The basic behaviour "fearful" improved, the robot flees when you approach
  • The proximity sensor no longer interacts with other robots
  • Renamed the following variables:
    • button.binary[0] -> button.backward
    • button.binary[1] -> button.left
    • button.binary[2] -> button.center
    • button.binary[3] -> button.forward
    • button.binary[4] -> button.right
    • motor.target[0] -> motor.left.target
    • motor.target[1] -> motor.right.target
    • motor.speed[0] -> motor.left.speed
    • motor.speed[1] -> motor.right.speed
    • motor.pwm[0] -> motor.left.pwm
    • motor.pwm[1] -> motor.right.pwm
  • Renamed the function:
    • leds.ntc (red, blue) -> leds.temperature (red, blue)
  • Updated the sound management
    • Use ".wav" files
    • No more negative numbers for sound systems, but a function sound.system()
    • Ability to have up to 32767 different kinds of user sounds sound.play()
    • Ability to replay sound.replay() recorded sounds sound.record ()

Corrections

  • Fixed function math.atan2()
  • Fix detection of the table edge in the friendly and explorer behaviour
  • Corrected the sound made in the fearful behaviour
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License