Baptiste Gaultier commited on
Commit
87e23e5
·
1 Parent(s): 82e9fef

instructions fixed

Browse files
Files changed (1) hide show
  1. app.py +7 -10
app.py CHANGED
@@ -98,16 +98,13 @@ if __name__ == "__main__":
98
  with gr.Row():
99
  instructions = gr.Markdown("""
100
  ## Instructions
101
- * Based on this [example]() , write a MicroPython code that will light up a red LED connected to pin `21` for 3 seconds. Once the 3 seconds have elapsed, make this LED blink every second (1 second off, then 1 second on) indefinitely!
102
-
103
- ![Level crossing lights](/gradio_api/file=/assets/blink.gif)
104
-
105
- * You can use the [Vittascience simulator](https://fr.vittascience.com/esp32/?mode=code&console=bottom&toolbox=scratch&simu=1&board=basic-esp32) to test your code.
106
- * Copy and paste your code into the code editor on the right.
107
- * Click the 'Grade' button to get a grade and feedback.
108
- * If you are not satisfied with your grade, you can improve your code and click the 'Grade' button again.
109
- * You can click the 'Grade' button as many times as you want.
110
- """)
111
  code = gr.Code(label="MicroPython code", language="python", value='import machine\n\n# Your code here', lines=24)
112
  with gr.Row():
113
  feedback_output = gr.Textbox(label="Feedback", value="Click on the 'Grade' button to get feedback", interactive=False, scale=4)
 
98
  with gr.Row():
99
  instructions = gr.Markdown("""
100
  ## Instructions
101
+ 1. Based on the examples you've seen so far, write a MicroPython code that follows the instructions above.
102
+ 2. You can use the [Vittascience simulator](https://fr.vittascience.com/esp32/?mode=code&console=bottom&toolbox=scratch&simu=1&board=basic-esp32) to test your code.
103
+ 2. Click the "Grade" button to get a grade and feedback.
104
+ 3. Make sure your code is well-structured and efficient.
105
+ 4. When you're happy with your code, please upload your solution below to get graded.
106
+ 6. Good luck!
107
+ """, container=True)
 
 
 
108
  code = gr.Code(label="MicroPython code", language="python", value='import machine\n\n# Your code here', lines=24)
109
  with gr.Row():
110
  feedback_output = gr.Textbox(label="Feedback", value="Click on the 'Grade' button to get feedback", interactive=False, scale=4)