@innovationsmaker no i don't have the new Core2 version or know further details but i guess it will need only minor adjustments..
I hope someone will try it out and post the results. Would be interesting for all other existing apps too..
Posts made by frittna
-
RE: Bitcoin / Multi Crypto Coin Ticker with 24 candlesticks chart
-
RE: Bitcoin / Multi Crypto Coin Ticker with 24 candlesticks chart
@op8 sorry for the late reply, thank you very much, i still love it to watch the price on it. The M5 core is the regular black framed M5-core and the bottom is the M5GO/FIRE Battery Bottom Charging Base SKU:A014 from this M5-Stack-Shop (do not forget to buy the chargning base plate as i did, these are 2 seperate items to buy) It has the rgb-led strip built-in but it is only barely used in my code.. My Intention was to show major price movements with red/green flashing lights (and sounds) for example. Unfortunately i did not implement more functions since then.
A little problem i have experienced is the wake-up behavour on usb-cable because with the battery base it behaves different as it is with standart battery back. But this can be solved in the code if you change the settings at //Power Settings -
RE: Bitcoin / Multi Crypto Coin Ticker with 24 candlesticks chart
it's the inverted original.. have you tried it on your M5? Then you can easely change it to any color you like in paint or use the bright original one m5_logo.png instead of m5_logo_dark.png, it is included like all other files you will need to compile it. I just like green.
-
RE: Simple Wi-Fi signal strength
you can try this pice of code which is working for me:
..
#include <WiFi.h>
#include "Free_Fonts.h"
#include <M5Stack.h>const char* ssid = "your_host";
const char* password = "your_password";
WiFiClient client;void setup() {
M5.begin();
// Connecting to WiFi:
M5.Lcd.setFreeFont(FM9); M5.Lcd.setTextSize(1); M5.Lcd.setTextColor(TFT_WHITE);
M5.Lcd.print("\n\nConnecting to ");
M5.Lcd.println(ssid);
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
M5.Lcd.setTextWrap(true);
M5.Lcd.print(".");
delay(500);
}
M5.Lcd.println("\nWiFi connected");
delay(1000);
M5.Lcd.fillScreen(TFT_BLACK);
}void loop() {
showWifiStrength();
delay(2000);
}// show Wifi-RSSI level (signal strength in 4 bars + dBm )
void showWifiStrength() {
int WifiRSSI = WiFi.RSSI();
M5.Lcd.fillRect(40, 0, 68, 15, TFT_BLACK);
M5.Lcd.setCursor(40, 14);
M5.Lcd.print(String(WifiRSSI) + "dBm");
if (WifiRSSI > -50 & ! WifiRSSI == 0 ) M5.Lcd.fillRoundRect(26, 1, 5, 12, 1, TFT_WHITE);
else M5.Lcd.fillRoundRect(26, 1, 5, 12, 1, TFT_DARKGREY);
if (WifiRSSI > -70 & ! WifiRSSI == 0) M5.Lcd.fillRoundRect(18, 3, 5, 10, 1, TFT_WHITE);
else M5.Lcd.fillRoundRect(18, 3, 5, 10, 1, TFT_DARKGREY);
if (WifiRSSI > -80 & ! WifiRSSI == 0) M5.Lcd.fillRoundRect(10, 5, 5, 8, 1, TFT_WHITE);
else M5.Lcd.fillRoundRect(10, 5, 5, 8, 1, TFT_DARKGREY);
if (WifiRSSI > -90 & ! WifiRSSI == 0)
M5.Lcd.fillRoundRect(2, 7, 5, 6, 1, TFT_WHITE);
else M5.Lcd.fillRoundRect(2, 7, 5, 6, 1, TFT_RED);
} -
Bitcoin / Multi Crypto Coin Ticker with 24 candlesticks chart
Hi everyboy,
I made good progress with a Crypto Coin Price Ticker which I have modified and enhanced to use with the M5Stack.
The original core of the code was from a github users project github.com/olbed/bitcoin-ticker
I ported it to M5, added some new features and design changings and now I want to share my resutls to all of you who wants a nice price ticker to track your favorite crypto pairs easily.download project: https://github.com/frittna/Crypto_Coin_Ticker
in general, read the info at the beginning to get it working with all the libraries and the SPIFFS upload
edit: btw - look at this rise in btc from march to august..
frittna