Still not able to do the badge after years, I decided to reuse at least the display for normal display under ulisp. Sadly the example is use another display (2 line one) and hence not sure how to proceed as the PIN number and name I cannot sort it out.
My Arduino works based on
/*
Board
Nano OLED
Mega
-------------
GND GND
5V Vcc // USE 3.3V might be better ...
A5(19) SCL // SCK and hence ulisp use pin 7
A4(18) SDA // MOSI in sample code and hence assume ulisp use pin 5
13 RST //
A3(17) DC //
A2(16) CS //
*/
...
U8G2_SH1122_256X64_2_4W_SW_SPI u8g2(U8G2_R0,
/* clock=*/ 19,
/* data=*/ 18,
/* cs=*/ 16,
/* dc=*/ 17,
/* reset=*/ 13); // Enable U8G2_16BIT in u8g2.h
...
I checked by unplug and plug and it seems all 7 pins (5 above + VCC and Ground) of the display are needed under Arduino (even if I only use SPI).
My question is which pin goes to which under ulisp and further may I ask what are their names for future reference. I read the interface part of this http://www.ulisp.com/show?2L0C and it seemed there are overlap of pin assignment and some pins are not the same name as above.
Any help?