Coder Social home page Coder Social logo

agat's People

Contributors

sintech avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

agat's Issues

Compile error Agatdisk

Arduino: 1.8.8 (Windows 10), TD: 1.47, Board: "Teensy 3.2 / 3.1, Serial, 96 MHz (overclock), Faster, US English"

agatdisk:82: error: 'long unsigned int time' redeclared as different kind of symbol
unsigned long time = micros();

           ^

In file included from c:\program files\arduino\hardware\tools\arm\arm-none-eabi\include\stdlib.h:11:0,

             from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy3/WProgram.h:34,

             from C:\Users\ALEXAN~1\AppData\Local\Temp\arduino_build_111441\pch\Arduino.h:6:

c:\program files\arduino\hardware\tools\arm\arm-none-eabi\include\time.h:59:11: note: previous declaration 'time_t time(time_t*)'

time_t _EXFUN(time, (time_t *_timer));

       ^

agatdisk: In function 'void setup()':
agatdisk:190: error: invalid operands of types 'uint32_t {aka long unsigned int}' and 'time_t(time_t*) {aka long int(long int*)}' to binary 'operator-'
Serial.println(micros() - time);

                         ^

agatdisk: In function 'void readTrack(SdFile, fileInfo, byte)':
agatdisk:310: error: assignment of function 'time_t time(time_t*)'
time = micros();

    ^

agatdisk:310: error: cannot convert 'uint32_t {aka long unsigned int}' to 'time_t(time_t*) {aka long int(long int*)}' in assignment
agatdisk:332: error: invalid operands of types 'uint32_t {aka long unsigned int}' and 'time_t(time_t*) {aka long int(long int*)}' to binary 'operator-'
Serial.print("Reading track: " + String(track) + "/" + String(real_track) + ", Side: " + String(track_side) + ", size: " + String(track_size)+" - "); Serial.println(micros() - time);

                                                                                                                                                                                  ^

agatdisk:345: error: invalid operands of types 'uint32_t {aka long unsigned int}' and 'time_t(time_t*) {aka long int(long int*)}' to binary 'operator-'
Serial.print(" after read - "); Serial.println(micros() - time);

                                                               ^

agatdisk:362: error: invalid operands of types 'uint32_t {aka long unsigned int}' and 'time_t(time_t*) {aka long int(long int*)}' to binary 'operator-'
Serial.print(" after encode - "); Serial.println(micros() - time);

                                                                 ^

agatdisk:367: error: invalid operands of types 'uint32_t {aka long unsigned int}' and 'time_t(time_t*) {aka long int(long int*)}' to binary 'operator-'
Serial.print("after image_data array fill - "); Serial.println(micros() - time);

                                                                            ^

agatdisk:370: error: invalid operands of types 'uint32_t {aka long unsigned int}' and 'time_t(time_t*) {aka long int(long int*)}' to binary 'operator-'
Serial.print("after display - "); Serial.println(micros() - time);

                                                              ^

'long unsigned int time' redeclared as different kind of symbol

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.