collapse

* Posts Recentes

Emulador NES em ESP32 por dropes
[13 de Março de 2024, 21:19]


Escolher Osciloscópio por jm_araujo
[06 de Fevereiro de 2024, 23:07]


TP4056 - Dúvida por dropes
[31 de Janeiro de 2024, 14:13]


Leitura de dados por Porta Serie por jm_araujo
[22 de Janeiro de 2024, 14:00]


Distancia Cabo por jm_araujo
[08 de Janeiro de 2024, 16:30]


Meu novo robô por josecarlos
[06 de Janeiro de 2024, 16:46]


Laser Engraver - Alguém tem? por almamater
[16 de Dezembro de 2023, 14:23]


Focos LED SMD por almamater
[16 de Dezembro de 2023, 14:12]


I Belive por dropes
[15 de Dezembro de 2023, 13:59]


Carga de corrente eletrónica ZPB30A1 60W por jm_araujo
[11 de Dezembro de 2023, 13:27]

Autor Tópico: Biblioteca SDFat  (Lida 5785 vezes)

0 Membros e 1 Visitante estão a ver este tópico.

Offline Wolfz

  • Mini Robot
  • *
  • Mensagens: 59
Biblioteca SDFat
« em: 04 de Julho de 2012, 22:06 »
Boas...

Alguem me pode arranjar a libraria para o arduino, e já agora dizer se é necessário fazer alguma coisa para alem de copiar a pasta para a pasta libraries?

Com os melhores cumprimentos,
Wolfz

Offline poliveira1978

  • Mini Robot
  • *
  • Mensagens: 335
Re: Biblioteca SDFat
« Responder #1 em: 05 de Julho de 2012, 00:19 »

Offline Wolfz

  • Mini Robot
  • *
  • Mensagens: 59
Re: Biblioteca SDFat
« Responder #2 em: 05 de Julho de 2012, 01:09 »
Muito obrigado =)
Já tenho a libraria a "funcionar" só que ainda tenho alguns erros, se por acaso me poderem ajudar agradecia =D

Citar
In file included from C:\Users\João\Documents\arduino-1.0\libraries\Ethernet/EthernetServer.h:4,
                 from C:\Users\João\Documents\arduino-1.0\libraries\Ethernet/Ethernet.h:8,
                 from Website_Ethernet_shield.cpp:4:
C:\Users\João\Documents\arduino-1.0\hardware\arduino\cores\arduino/Server.h:10:24: error: netinet/in.h: No such file or directory
C:\Users\João\Documents\arduino-1.0\hardware\arduino\cores\arduino/Server.h:11:23: error: sys/types.h: No such file or directory
In file included from C:\Users\João\Documents\arduino-1.0\libraries\Ethernet/Ethernet.h:8,
                 from Website_Ethernet_shield.cpp:4:
C:\Users\João\Documents\arduino-1.0\libraries\Ethernet/EthernetServer.h:9: error: expected class-name before '{' token
C:\Users\João\Documents\arduino-1.0\libraries\Ethernet/EthernetServer.h:19: error: type 'Print' is not a base type for type 'EthernetServer'
Website_Ethernet_shield:9: error: 'Server' does not name a type
Website_Ethernet_shield.cpp: In function 'void setup()':
Website_Ethernet_shield:68: error: 'server' was not declared in this scope
Website_Ethernet_shield.cpp: In function 'void loop()':
Website_Ethernet_shield:82: error: 'server' was not declared in this scope
Website_Ethernet_shield:82: error: cannot declare variable 'client' to be of abstract type 'Client'
C:\Users\João\Documents\arduino-1.0\hardware\arduino\cores\arduino/Client.h:7: note:   because the following virtual functions are pure within 'Client':
C:\Users\João\Documents\arduino-1.0\hardware\arduino\cores\arduino/Client.h:12: note:    virtual size_t Client::write(uint8_t)
C:\Users\João\Documents\arduino-1.0\hardware\arduino\cores\arduino/Client.h:13: note:    virtual size_t Client::write(const uint8_t*, size_t)
C:\Users\João\Documents\arduino-1.0\hardware\arduino\cores\arduino/Client.h:14: note:    virtual int Client::available()
C:\Users\João\Documents\arduino-1.0\hardware\arduino\cores\arduino/Client.h:15: note:    virtual int Client::read()
C:\Users\João\Documents\arduino-1.0\hardware\arduino\cores\arduino/Client.h:17: note:    virtual int Client::peek()
C:\Users\João\Documents\arduino-1.0\hardware\arduino\cores\arduino/Client.h:18: note:    virtual void Client::flush()
C:\Users\João\Documents\arduino-1.0\hardware\arduino\cores\arduino/Client.h:10: note:    virtual int Client::connect(IPAddress, uint16_t)
C:\Users\João\Documents\arduino-1.0\hardware\arduino\cores\arduino/Client.h:11: note:    virtual int Client::connect(const char*, uint16_t)
C:\Users\João\Documents\arduino-1.0\hardware\arduino\cores\arduino/Client.h:16: note:    virtual int Client::read(uint8_t*, size_t)
C:\Users\João\Documents\arduino-1.0\hardware\arduino\cores\arduino/Client.h:19: note:    virtual void Client::stop()
C:\Users\João\Documents\arduino-1.0\hardware\arduino\cores\arduino/Client.h:20: note:    virtual uint8_t Client::connected()
C:\Users\João\Documents\arduino-1.0\hardware\arduino\cores\arduino/Client.h:21: note:    virtual Client::operator bool()

Offline Marvin

  • Mini Robot
  • *
  • Mensagens: 677
    • The scientist and the geek
Re: Biblioteca SDFat
« Responder #3 em: 05 de Julho de 2012, 11:58 »
isso deve de ter a ver com o IDE 1.0, essa biblioteca possivelmente não é compativel com esse IDE, tenta fazer download de um IDE mais antigo e tenta novamente.
Dronetech BlogThe Scientist and the Geek

Offline tr3s

  • Administrator
  • Mini Robot
  • *****
  • Mensagens: 811
  • char x=1, y=5; x^=y^=x^=y;
Re: Biblioteca SDFat
« Responder #4 em: 05 de Julho de 2012, 12:36 »
Off topic: Mudei o titulo da thread para Biblioteca SdFat. Livraria é onde se vendem livros ;)
Tr3s
Daniel Gonçalves

Offline Wolfz

  • Mini Robot
  • *
  • Mensagens: 59
Re: Biblioteca SDFat
« Responder #5 em: 05 de Julho de 2012, 14:28 »
xD tens razão e só agora é que me apercebi que livraria estava mal escrito xD
Obrigado Tr3s

Offline Wolfz

  • Mini Robot
  • *
  • Mensagens: 59
Re: Biblioteca SDFat
« Responder #6 em: 05 de Julho de 2012, 15:58 »
Ok, já estou a dar em maluco... não arranjo maneira de por isto a funcionar. Alguém que já tenha feito um webserver com o ethernet shield do arduino que me possa enviar o software (IDE)?
O que eu pretendo para já é quando acedo ao ao "URL" do arduino, por exemplo, 192.168.0.123 abra uma pagina HTML que esta armazenada no SD.

Alguém que me ajude por favor que eu já estou a dar em maluco xS

Offline Marvin

  • Mini Robot
  • *
  • Mensagens: 677
    • The scientist and the geek
Re: Biblioteca SDFat
« Responder #7 em: 05 de Julho de 2012, 16:18 »
a insanidade faz parte do desenvolvimento de qq projecto.

O IDE (Integrated Development Environment) é a versão da aplicação de processing que usas para programar e compilar o codigo. Pelo erro que enviaste estas a usar a versão 1.

Precisas de testar com a versão 0.23 http://arduino.googlecode.com/files/arduino-0023.zip

Dronetech BlogThe Scientist and the Geek

Offline Wolfz

  • Mini Robot
  • *
  • Mensagens: 59
Re: Biblioteca SDFat
« Responder #8 em: 05 de Julho de 2012, 16:39 »
Obrigado Marvin, já está. Eu já tinha testado com o 23, 22 e 18. Mas antes de testar copiava logo uns ficheiros para arduino-0023\hardware\arduino\cores\arduino e devia ser isso que estava a estragar tudo.

Muito obrigado ;)