Embedded Systems Course - Lecture 03: Concepts of Microcontrollers, Part 2

Поділитися
Вставка
  • Опубліковано 24 гру 2024

КОМЕНТАРІ • 4

  • @gmo00777
    @gmo00777 11 років тому +1

    In resolution calculation (~37:30) I've always used Voltage Range/([2^n]-1) so in you example you would have for Vcc of 3.3 and an 8 bit converter (3.3/255). It is a very small difference but this is the actual number of counts that would be reported by the ADC. I'm guessing you may make a correction in a later lecture. Any thoughts?
    Update: OK, @ ~ 43:30 it is corrected but in a different formula...

  • @msprocop
    @msprocop 12 років тому

    James, you taught a Computer Architecture course I took at North Carolina State University, I think in 2000. Just saying, "Hi".

  • @tcbetka
    @tcbetka 10 років тому

    At 8:10, it seems like the #define macros for LED_ON and LED_OFF are reversed. The way you have it is pretty common of course, but if you are talking about the LEDs for this particular board, the logic seems to be reversed. Section 6.3 in the user manual says this:
    "There are12 user LEDs (see table 6-3) that are connected to IO ports and will light when their corresponding port pin is set low."
    Therefore, wouldn't you be better off reversing the logic you used here?

  • @amsa1003
    @amsa1003 12 років тому

    47:00
    I think it should be :
    0x1A2