
chakib
Members-
Content Count
8 -
Joined
-
Last visited
About chakib
-
Rank
Noob Class
-
The code source: #include <Wire.h> #include <RTClib.h> RTC_Millis RTC; void setup() { // put your setup code here, to run once: Serial.begin(115200); // following line sets the RTC to the date & time this sketch was compiled RTC.begin(DateTime(__DATE__, __TIME__)); } void loop() { // put your main code here, to run repeatedly: DateTime now = RTC.now(); Serial.print(now.year(), DEC); Serial.print('/'); Serial.print(now.month(), DEC); Serial.print('/'); Serial.print(now.day(), DEC); Serial.print(' '); Serial.print(now.hour(),
-
Of course, you have to add the RTClib library to your Energia and restart.
-
I found the solution here: https://github.com/elpaso/rtclib I used the SoftRTC.ino example to print the actual date and time. Regards.
-
Hello, I'm looking for an example to get the actual date with Energia CC3200 WiFi Lunchpad. Any idea? Regards.
-
I found the solution : #include <SPI.h> #include <WiFi.h> #include <Wire.h> #include "Adafruit_TMP006.h" // your network name also called SSID char ssid[] = "ssid"; // your network password char password[] = "password"; // Get Temp() Adafruit_TMP006 tmp006(0x41); void setup() { Serial.begin(115200); // attempt to connect to Wifi network: Serial.print("Attempting to connect to Network named: "); // print the network name (SSID); Serial.println(ssid); // Connect to WPA/WPA2 network. Change this line if using open or WEP network: WiFi.begin(ssid, pas
-
Hello, I'm searching for a simple example to calculate the external temperature with the development kit CC3200 with Energia. Regards
-
Hello, I'm using Energia CC3200 for Client/Server communication and i'm searching for a function (in the server) to read the post parameters when the client sent data. Any ideas? Regards.
-
Hello, I'm looking in wich file(s) are the data Payload in WiFi (CC3200)? To change and transfer data between a client and server without passing through TCP or HTML client/server. Any ideas? Regards.