BEGIN:VCALENDAR
VERSION:2.0
CALSCALE:GREGORIAN
BEGIN:VEVENT
URL:https://www.learndesk.us/class/5707700933492736/lesson/e599215e15ea7fc43276ed4946dacc38?ref=outlook-calendar
SUMMARY:Switch Exercises
DTSTART;TZID=America/Los_Angeles:20260501T190000
DTEND;TZID=America/Los_Angeles:20260501T200000
LOCATION:https://www.learndesk.us/class/5707700933492736/lesson/e599215e15ea7fc43276ed4946dacc38?ref=outlook-calendar
DESCRIPTION: Now that you've learned how to use the switch with 8051, let's see if you can complete below tasks. These are simple tasks and I've also included solutions for these, so if you face difficulties in doing, please msg me, and I'll add the codes for it

Single LED and 2 switches, On when switch 1 is pressed, and Off when switch 2 is pressed.

2 Switches and 2 LEDs, both on when switch 1 is pressed, and both Off when switch 2 is pressed

2 Switches and 4 LEDs, when switch 1 is pressed, blink the LED's 5 times, with 500-millisecond delay, and when switch 2 is pressed, blink those LEDs 10 times with 1000 millisecond delay

Keep Experimenting

https://www.learndesk.us/class/5707700933492736/lesson/e599215e15ea7fc43276ed4946dacc38?ref=outlook-calendar
STATUS:CONFIRMED
SEQUENCE:3
BEGIN:VALARM
TRIGGER:-PT10M
DESCRIPTION:Class Reminder
ACTION:DISPLAY
END:VALARM
END:VEVENT
END:VCALENDAR