It's worse than that, Jim!
Not only have you not posted your code with code tags, but I strongly doubt that what you show above will even compile and certainly will not work!
You have two "setup()" defined, and "myDisplay" is not defined.
If it were, then "myDisplay.setIntensity(0);" would set the display to its dimmest.