I met a stray'357'

I was trying to use 7 segment LED to display one digit numbers. I don't know where I go wrong. Help! Pleaseeee. :cry:

You copied code from the Web.

Post the code here, in code tags.
Post the error messages. All of them.

You might want to check your display requirements.

LEDs need series dropping resistors.

I notice that the semicolon at the end of the highlighted line does not look like the other semicolons. The UTF-8 encoding for a "SMALL SEMICOLON" is 'ef b9 94' and Octal 357 is equal to Hex EF. Replace the small semicolon with a regular one.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.