Giter Site home page Giter Site logo

diy_li-fi's Issues

errors i get

Arduino: 1.8.13 (Windows 10), Board: "Arduino Uno"

FU:5:23: error: expected initializer before 'setup'

char* string = "this " ;

                   ^~   

C:\Users\abdelkrim\Desktop\FU\FU.ino:5:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

char* string = "this " ;

            ^~~~~~~

FU:8:1: error: expected initializer before 'void'

void setup() {

^~~~

C:\Users\abdelkrim\Desktop\FU\FU.ino: In function 'void loop()':

FU:17:21: error: 'string_lenght' was not declared in this scope

for (int i = 0; i < string_lenght; i ++);

                 ^~~~~~~~~~~~~

C:\Users\abdelkrim\Desktop\FU\FU.ino:17:21: note: suggested alternative: 'strnlen_PF'

for (int i = 0; i < string_lenght; i ++);

                 ^~~~~~~~~~~~~

                 strnlen_PF

FU:19:20: error: 'i' was not declared in this scope

send_byte(String(i));

                ^

FU:19:3: error: 'send_byte' was not declared in this scope

send_byte(String(i));

^~~~~~~~~

FU:19:23: error: expected ')' before ';' token

send_byte(String(i));

                   ^

FU:20:3: error: expected primary-expression before ')' token

)

^

C:\Users\abdelkrim\Desktop\FU\FU.ino: At global scope:

FU:24:1: error: expected unqualified-id before '{' token

{

^

exit status 1

expected initializer before 'setup'

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.