Skip to content

Example of a edrys laboratory using multiple avr8js simulations for programming

License

Notifications You must be signed in to change notification settings

edrys-labs/lab-avr8js-simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

lab-avr8js-simulation

Here we provide two simple examples on how to use the avr8js simulator in the edrys laboratory and how these can be combined with different editors.

To import these examples into the edrys-Lite app, simply copy one of the following URLs and paste it into the import dialog in settings, after you have created a new class.

Arduino

This example combines:

  • module-editor: Simple minimal and configurable code editor.
  • module-markdown-it: Markdown viewer used for documentation.
  • module-avr8js: An AVR simulator with a configurable periphery (for code compilation and execution).

Arduino

This laboratory creates three rooms, without the need of open a station:

  1. Basics and Serial Communication

    In this initial room, students will explore the foundational concepts of Arduino programming, focusing on serial communication. Serial communication allows Arduino to communicate with your computer or other devices.

  2. Digital Input and Output

    Moving to the second room, learners will understand how to read digital inputs and control outputs. This is crucial for interfacing with various sensors and actuators.

  3. LED Grid Visualization with FastLED

    In the final room, students will use the FastLED library to create colorful, dynamic patterns on an LED grid, integrating everything they've learned about programming and physical computing.

Configuration Files

Either click on the link or import the configuration manually:

https://raw.githubusercontent.com/edrys-labs/lab-avr8js-simulation/main/laboratory/arduino.yaml

https://raw.githubusercontent.com/edrys-labs/lab-avr8js-simulation/main/laboratory/arduino.json

Blockduino

This is a simplified version of the previous example, where the code editor is replaced by a block-based editor and it does only contain one room so far.

Arduino

Configuration Files

Either click on the link or import the configuration manually:

https://raw.githubusercontent.com/edrys-labs/lab-avr8js-simulation/main/laboratory/blockduino.yaml

https://raw.githubusercontent.com/edrys-labs/lab-avr8js-simulation/main/laboratory/blockduino.json

About

Example of a edrys laboratory using multiple avr8js simulations for programming

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published