This category is used to make your own customized blocks for some specific purpose These blocks are used to declare and manage different variables These blocks are used for the utilization of arithmetic operators These blocks are used to manage the different sensing operations commonly the touch sensing These blocks are very important and it controls the flow of the program like it can generate delay and finite loops These blocks are used to manage the different events like if it receives some message so notify with some sound These are used to manage the sounds used in the project like to make the pitch of sound high These blocks are to display some messages or manage the display messages These blocks are used for the motion management There are blocks of different categories in the Scratch3, their functions are explained: Similarly, we can use other extensions as well as can use multiple extensions at the same time according to the requirement of the project, now, to execute the block diagram, we will click on the green flag which is used for the “Go”:Īnd to stop the program once executed, we will click on the Red icon known as “Stop”: Then we will add the Raspberry Pi GPIO by clicking on it: We can easily add this extension for example, if we want to use the GPIO pins of the Raspberry Pi 4, we have to add the extension of “GPIO pins”, for this purpose, we will go to the “Add Extension” at the left bottom of the screen: The Scratch3 supports many extensions which are used in Raspberry Pi 4 like “Vide Sensing”, “Text to Speech”, and “Raspberry Pi GPIO”. We will click on the “Programming” and a drop-down menu will open, from where we click on “Scratch3”:īefore proceeding towards the sketch we will first learn some basic features, the code blocks which are used to control the program are placed in the control section: When the downloading is done, we will close the terminal and click on the Raspberry icon present on the top left corner of the screen:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |