Centrado / z-blockly-tracker

0 stars 0 forks source link

### Block - Trigonometry #277

Open Maharajacentrado opened 1 year ago

Maharajacentrado commented 1 year ago

Block - Trigonometry

image

image

C++

void setup()
{

}

void loop()
{
/*Code*/
sin(0 / 180 * Math.PI);

/* Trigonometry options
1. cos(0 / 180 * Math.PI);
2. tan(0 / 180 * Math.PI);
3. asin(0) / M_PI * 180
4. acos(0) / M_PI * 180
5. atan(0) / M_PI * 180
*/
}

Originally posted by @KumaranUI in https://github.com/kreativhut/z-blockly-tracker/discussions/52#discussioncomment-2760056

Maharajacentrado commented 1 year ago

In the above , change 3.14 instead of Math_PI and M_PI in all the blocks

code is not generating properly

if I merge 2 blocks semicolon should not appear inside the brackets