Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 [2]  Send TopicPrint
Very Hot Topic (More than 25 Replies) Board will not function when using the DS1307RTC library (Read 20817 times)
mpl1337
Junior Member
**
Offline


Posts: 14
Joined: Jan 31st, 2016
Re: Board will not function when using the DS1307RTC library
Reply #20 - Feb 22nd, 2016 at 5:51pm
Print Post  
Ok thx Smiley im waiting Smiley
  
Back to top
 
IP Logged
 
mpl1337
Junior Member
**
Offline


Posts: 14
Joined: Jan 31st, 2016
Re: Board will not function when using the DS1307RTC library
Reply #21 - Apr 3rd, 2016 at 3:40pm
Print Post  
is there a fix now?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12138
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Board will not function when using the DS1307RTC library
Reply #22 - Apr 3rd, 2016 at 4:16pm
Print Post  
Hi,

I just tried your terra project with the latest release and if the serial monitor is set to 9600 it shows this after upload:-

Code
Select All
Opening port
Port open
DS1307 configured Date=Apr  3 2016
DS1307 configured Time=17:06:00
DS1307 Communication Error :-{
Please check your circuitry 



Can you confirm that you see the same after build and upload with the following flags set in your code as follows:-

Code
Select All
bool parse = false;
bool config = false;
 




The includes at the top of terra.ino are:-

Code
Select All
#include <UTFT.h>
#include <UTFT_CTE.h>
#include <CapacitiveSensor.h>
#include <DCF77.h>
#include <TimeLib.h>
#include <UTouch.h>
#include <TFT_ExtensionV2.h>
#include "DHT.h"
#include <OneWire.h>
#include <DallasTemperature.h>
#include <Wire.h>
#include "EepromUtil.h"
#include "myeeprom.h"
#include <DS1307RTC.h> 

« Last Edit: Apr 3rd, 2016 at 4:17pm by Tim@Visual Micro »  
Back to top
IP Logged
 
mpl1337
Junior Member
**
Offline


Posts: 14
Joined: Jan 31st, 2016
Re: Board will not function when using the DS1307RTC library
Reply #23 - Apr 3rd, 2016 at 4:33pm
Print Post  
not working

Version 1603.30.4

can't see
bool parse = false;
bool config = false;

which flags and where to set it?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12138
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Board will not function when using the DS1307RTC library
Reply #24 - Apr 3rd, 2016 at 8:16pm
Print Post  
Oh I just checked your original, I must have changed the file when testing.
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12138
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Board will not function when using the DS1307RTC library
Reply #25 - Apr 3rd, 2016 at 8:33pm
Print Post  
I changed the dst and time includes and also added a Serial.println() to the log handler

Code
Select All
#include <DS1307RTC.h>
#include <Time\TimeLib.h> 



With a base bones Due connected I see this output.

Code
Select All
Opening port
Port open
Serial Start
DCF Start
1Wire Start
Start!
LCD Start
DS18x20 Start
DHT Start
System gestartet
Err
Err
Logday: 255
Err
Logday: 255
Err
Logday: 255
Err
Logday: 255
Err
Logday: 255
 

  

Please Register or Login to the Forum to see File Attachments
Back to top
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint