I've developed four new classes in the ethics of technology and taught three others. I've also created ethics material—special class sessions, homework, and end-of-term projects—for thirteen technical courses in engineering and computer science.
My approach to teaching ethics to computer scientists, and other engineers, de-emphasizes ethical theory in favor of teaching ethics as a skill. Drawing on the fields of responsible innovation, value-sensitive design, and participatory design, the goal is for students to be able to identify, address, and communicate about the ethical, social, and political implications of technologies that they themselves are working on. To learn more, read this abstract or this interview.
I also teach about the philosophical questions in the ethics of technology. Here is a syllabus for Ethics of AI and Digital Technologies.