author

galor-nim

21
Inbox View Profile
2Instructables22,271Views15Comments

Tell us about yourself!

Achievements

10K+ Views Earned a bronze medal
  • galor-nim commented on galor-nim's instructable Simple Bitcoin Ticker
    Simple Bitcoin Ticker

    update sketch:DynamicJsonDocument jsonDocument(4096);

    View Instructable »
  • galor-nim commented on galor-nim's instructable Simple Bitcoin Ticker
    Simple Bitcoin Ticker

    You can download updated sketch at:https://github.com/Nimrod-Galor/Simple-Bitcoin-Ticker/tree/Simple-Bitcoin-Ticker-With_floating-Point

    View Instructable »
  • galor-nim commented on galor-nim's instructable Simple Bitcoin Ticker
    Simple Bitcoin Ticker

    Hi,Tray following changes:@ row number replace all rows after ------------ with rows after ++++++++++@182-------printPrice(99999999);++++++++++++++++++++++++++++++++++++++++++++printPrice(999999, 1);@296-------Serial.println(price, 2);++++++++++++++++++++++++++++++++++++++++++++Serial.println(price); //find floating point index int left_part, right_part; char buffer[50]; sprintf(buffer, "%lf", price); sscanf(buffer, "%d.%d", &left_part, &right_part);@298--------printPrice((int)price);++++++++++++++++++++++++++++++++++++++++++++printPrice((int)left_part, (int)right_part);@307----------void printPrice(int price){ // reset for(int index=0;index<lc.getDeviceCount();index++) { lc.clearDisplay(index); } int index = floor((8-sizeo…

    see more »

    Hi,Tray following changes:@ row number replace all rows after ------------ with rows after ++++++++++@182-------printPrice(99999999);++++++++++++++++++++++++++++++++++++++++++++printPrice(999999, 1);@296-------Serial.println(price, 2);++++++++++++++++++++++++++++++++++++++++++++Serial.println(price); //find floating point index int left_part, right_part; char buffer[50]; sprintf(buffer, "%lf", price); sscanf(buffer, "%d.%d", &left_part, &right_part);@298--------printPrice((int)price);++++++++++++++++++++++++++++++++++++++++++++printPrice((int)left_part, (int)right_part);@307----------void printPrice(int price){ // reset for(int index=0;index<lc.getDeviceCount();index++) { lc.clearDisplay(index); } int index = floor((8-sizeof(price)) /2); while(price > 0){ lc.setDigit(0, index, price%10, false); price = price/10; index++; }}++++++++++++++++++++++++++++++++++++++++++++void printPrice(int left_part, int right_part){ // reset for(int index=0;index<lc.getDeviceCount();index++) { lc.clearDisplay(index); } int sofl = intLength(left_part); int sofr = intLength(right_part); int exss = min((8 - sofl), sofr); if(exss == 2){ right_part = float(right_part / 10000); }else if(exss == 3){ right_part = float(right_part / 1000); }else if(exss == 4){ right_part = float(right_part / 100); }else if(exss == 5){ right_part = float(right_part / 10); } int index = floor((8-(sofl + exss)) /2); bool pfFlag = false; while(exss > 0){ lc.setDigit(0, index, right_part%10, pfFlag); right_part = right_part/10; index++; exss--; } pfFlag = true; while(sofl > 0){ lc.setDigit(0, index, left_part%10, pfFlag); left_part = left_part/10; index++; sofl--; pfFlag = false; } }int intLength(int i){ if(i > 9999999) return 8; else if(i > 999999) return 7; else if(i > 99999) return 6; else if(i > 9999) return 5; else if(i > 999) return 4; else if(i > 99) return 3; else if(i > 9) return 2; else return 1;}

    View Instructable »
  • galor-nim commented on galor-nim's instructable Simple Bitcoin Ticker
    Simple Bitcoin Ticker

    try downloading the updated sketch from github:https://github.com/Nimrod-Galor/Simple-Bitcoin-Ticker/blob/master/Simple_Bitcoin_Ticker.inothis new sketch has some new error alert that will mack it easier to debug.

    View Instructable »
  • galor-nim commented on galor-nim's instructable Simple Bitcoin Ticker
    Simple Bitcoin Ticker

    You can try updating sketch:--- DynamicJsonDocument jsonDocument(1024);++ DynamicJsonDocument jsonDocument(2024);If that does not work try downloading the updated sketch from github:https://github.com/Nimrod-Galor/Simple-Bitcoin-Tic...this new sketch has some new error alert that will mack it easier to debug.

    Hi sorry for the late reply.You need to replace the fingerprint to match the new coinmarketcap.com ssl.1. in chrome go to coinmarketcap.com.2. click the lock icon next to url bar.3. click certificate. certificate window popup.4. in the details tab copy value of field "Thumbprint".5. in arduino sketch find the row:const char fingerprint[] PROGMEM = "d3 79 2d dd ac 1f ed 90 8a a9 c1 c0 74 2d cf ff 6d 86 bf 0a";and replace the fingerprint (d3 79 2d dd ac 1f ed 90 8a a9 c1 c0 74 2d cf ff 6d 86 bf 0a)with the new value you copied.6. upload the updated sketch to you board.

    Hi,You need to replace the fingerprint to match the new coinmarketcap.com ssl.1. in chrome go to coinmarketcap.com.2. click the lock icon next to url bar.3. click certificate. certificate window popup.4. in the details tab copy value of the "Thumbprint" field.5. in arduino sketch find the row:const char fingerprint[] PROGMEM = "d3 79 2d dd ac 1f ed 90 8a a9 c1 c0 74 2d cf ff 6d 86 bf 0a";and replace the fingerprint (d3 79 2d dd ac 1f ed 90 8a a9 c1 c0 74 2d cf ff 6d 86 bf 0a)with the new value you copied.6. upload the updated sketch to you board.

    View Instructable »
  • Motion Follow Animatronics Eyes

    Yes.850nm Infrared LEDs Size : Approx. 5 mm Voltage : 1.3-1.5 V Viewing Angle : 45 Degree

    View Instructable »
  • M2 L300mm Link Stainless Steel Connecting Rod with Dual End Thread for Servos.You will have to cut therm to length.I will update exact length...

    I am sorry abut that, I did made a mistake :(.The correct size: 11/23 with M4 screws

    View Instructable »
  • galor-nim's instructable Simple Bitcoin Ticker's weekly stats:
    • Simple Bitcoin Ticker
      91 views
      0 favorites
      0 comments
  • Soon I will upload schematic

    View Instructable »
    • Motion Follow Animatronics Eyes
      5,496 views
      127 favorites
      5 comments
  • cool.Please share your rezult.

    View Instructable »