Comments (3)
Hello. @DAKarp
Please try this code. (Connect Unit Mini OLED to port A.)
#include <M5UnitMiniOLED.h>
#include <M5Unified.h>
void setup(void)
{
M5.begin();
}
void loop(void)
{
M5.Display.fillCircle
( rand()%M5.Display.width()
, rand()%M5.Display.height()
, 8, rand()
);
}
IMG_9062.MOV
from m5unified.
Thanks so much! I got it working, and it turns out the issue was the order of imports!
This does not work:
#include <M5Unified.h>
#include <M5UnitMiniOLED.h>
and this does:
#include <M5UnitMiniOLED.h>
#include <M5Unified.h>
from m5unified.
Yes, that is the intended specification.
If you want M5Unified to control the external display, the header must be included before M5Unified.
If you want to control the external display yourself, the header must be included after M5Unified.
from m5unified.
Related Issues (20)
- Cracking sound on speaker using the "M5CoreS3-Esphome/voice-assistant" HOT 2
- M5Core2 Power LED HOT 8
- Customised buttons HOT 1
- M5Capsule cannot be detected corretly HOT 2
- Setting text color on LCD prevents breaks text output HOT 1
- M5 Core2 v1.1 power LED HOT 1
- changing font HOT 2
- What does it do? AXP2101_Class::setReg0x20Bit0(bool flg) HOT 2
- How to use StickC Plus beeper buzzer HOT 2
- getVBUSVoltage not working with Core2 v1.1 HOT 3
- speaker on core 2 HOT 1
- M5Unified and Arduino 3.0 on Core2 HOT 2
- ADC cannot be used with M5Unified and Arduino3.0.4 HOT 1
- Play MP3 on cardputer HOT 1
- How to set MPU6886 Acceleromer/Gyro range and FIFO sample frequency?
- IDF 5.1/Arduino 3.0 support: legacy adc driver migration missing causing a boot crash if an ADC input is used HOT 4
- IDF 5.1/Arduino 3.0 support: M5.Speaker methods, camera input broken (CoreS3)
- M5Paper wakes too soon from deep sleep when touch wakeup is enabled - with solution HOT 2
- Minimalist configuration using M5Unified and BluetoothA2DPSink HOT 3
- M5CoreS3 speaker issue HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from m5unified.