A web-based visual programming interface for controlling Arduino LEDs using Blockly and SvelteKit.
Clone the repository:
git clone https://github.com/uv547756/Blockly_Arduino.git
Install Dependencies:
cd Blockly_Arduino
npm install
Start the server
npm run dev
Open http://localhost:5173 in your browser
src/
├── lib/
│ ├── blocks/
│ │ └── ledBlocks.js
│ ├── generators/
│ │ └── pythonGenerators.js
│ ├── config/
│ │ └── toolbox.js
│ └── utils/
│ └── codeGenerator.js
├── routes/
│ └── +page.svelte
└── styles/
└── global.css
1.Connect your Arduino board
2.Use the Blockly interface to create your LED control program
3.Click "Generate Code" to see the Python code
4.Run the generated code to control your Arduino
MIT