Write code using 2Code on Purple Mash. Pair your Purple Chip Application with your 2Code file. Control the components of your device or use your Purple Chip App to control your 2Code file.
Examples-
- Write code in 2Code to control the components of your device using the Purple Chip App. For example- when I press "Button A" turn the device flash on for 10 seconds.
- Write code in 2Code to turn your Purple Chip App into a controller for your game or program. For example- when I tilt the Purple Chip left move mySprite left or when I press "Button B" hide mySprite.