mirror of
https://github.com/nishad2m8/T-Display-S3-YT
synced 2025-09-26 23:09:17 +08:00
23 lines
590 B
Markdown
Executable File
23 lines
590 B
Markdown
Executable File
# Moon Phase Clock
|
|
|
|
Create a file named `credential.h` in the `src/` folder with the following content:
|
|
|
|
```cpp
|
|
// credential.h
|
|
|
|
#ifndef CREDENTIAL_H
|
|
#define CREDENTIAL_H
|
|
|
|
// WiFi credentials
|
|
const char* ssid = "YOUR_WIFI_SSID"; // Replace with your WiFi network name (SSID)
|
|
const char* password = "YOUR_WIFI_PASSWORD"; // Replace with your WiFi password
|
|
|
|
// visualcrossing.com API Key for the weather service
|
|
const char* apiKey = "YOUR_WEATHER_API_KEY"; // Replace with your visualcrossing API key for the weather service
|
|
|
|
#endif
|
|
|
|
```
|
|
---
|
|
|
|
 |