I have not used SPI, but according to this post, it is not reliable.
Posts made by mark titley
RE: MCP3008 SPI Addressing and 0x00 returned values
RE: git error - ca-certificates.crt mbedTLS missing
@Bogdan-Cimpeanu that link is for old docs, the docs for Onion2 is https://docs.onion.io/omega2-docs/installing-and-using-git.html which has the steps described.
I know it is confusing that they having 2 sets of documents.
RE: PEXPECT in python
I don't have my Omega to hand, but I found this that might help
But thinking about the limited storage you might want to remove python 2.x if you are not going to use it and that will stop pip installing to python 2.x
RE: [RESOLVED] Cannot connect to Omega when using battery dock
The Battery dock does not have a serial to USB chip so you are unable to connect it to a PC for communications.
I have the cloud in and working.
I have managed to set the onion LED to a heart beat and the RGB led to different colours. This I found using the tutorial Part1 Ubus Intro and looking at the github. But I can't get the OLED to display any text.
What I have used is
the output is
"error": "invalid command"
What I am doing wrong?
When I first saw the post about the on/off switches breaking I thought I would order some spares as someone found a replacement switch. My pack of 10 has turned up today after about 1 month from Amazon. As I only need 2 spares, I have the remaining spare and will offer them to others. Just send me a message, I will provide you with my postal address and then you can send me a letter with a return letter I will post back to you.
I am only offering this to UK addresses as I don't know how you would buy a UK stamps from outside the UK.
RE: Accessing internet through Cisco SDM
I have not tried this, and don't know if it in the repo but try to install Lynx or elink, this is text based browser.
If the Onion console was able to open a iframe to something like www.google.com this would then be redirected to the captive portal, I think.
RE: Oled Screen
The GIT hub link to Python code mentions SSD1306. This is a I2C display. I have used this with a Ardiuno in the past. The pin out is, power, gnd, I2C and I2C clock. Take a look at this picture I found with Google.
If you have a voltmeter you should be able to buzz out the pins.