Flip screen 180° on Inky Phat

Anybody know how I can rotate the screen 180° so it is in effect upside down?


Try inkyphat.set_rotation(180)

Does this method still works? I am getting the following error

Traceback (most recent call last):
File “logo.py”, line 46, in
AttributeError: InkyPHAT instance has no attribute ‘set_rotation’

Try the following if using the new Inky library.

inky_display.h_flip = True
inky_display.v_flip = True