Use blocky to program IoT devices in Packet Tracer 8.0
Blocky has been integrated by Cisco in Packet Tracer 8. to ease IoT programming for network students who are not well aware of Javascript or Python programing. The following videos demonstrates the amazing capabilities of this feature.
Video part 1
Video part 2