Extension create custom event block in c language


#1

Hi,
please is there some example how can i write custom event block in c language?
What can i write in section delcare, setup and code?
Thanks for yours answer.


#2

Hi there:

Thank you for you feedback,mBlock only support python for now if you want to create an event block in C you need to transcode c to python,thank you.


#3

I am sorry, I do not understand.
I writed all extension DY-50 finger print in c language.


Why can not write event block in c language?


#4

Hi there:

Sorry for the late reply,please click the link below.

FYI:https://www.yuque.com/makeblock-help-center-en/extension-builder/ardunio-led-arduino-template#DUhKc


#5

Any code that is valid!