Forum Électro-Bidouilleur

Merci de vous connecter ou de vous inscrire.

Connexion avec identifiant, mot de passe et durée de la session

Auteur Sujet: [Matos] Les fabuleuses LED ws2812 ^^  (Lu 7262 fois)

eledtronik

  • Administrator
  • Sr. Member
  • *****
  • Messages: 313
  • apprendre c'est bien, le partager c'est mieux
    • Voir le profil
Re : [Matos] Les fabuleuses LED ws2812 ^^
« Réponse #1 le: juin 28, 2016, 07:19:53 am »

IP archivée

Électro-Bidouilleur

  • Administrator
  • Hero Member
  • *****
  • Messages: 930
  • C'est moi le boss!
    • Voir le profil
    • Site Web Électro-Bidouilleur
Re : [Matos] Les fabuleuses LED ws2812 ^^
« Réponse #2 le: juin 28, 2016, 11:33:19 am »

IP archivée

captain.blood

  • Newbie
  • *
  • Messages: 7
    • Voir le profil
Re : [Matos] Les fabuleuses LED ws2812 ^^
« Réponse #3 le: juin 29, 2016, 01:28:46 am »

// Param for different pixel layouts
const bool    kMatrixSerpentineLayout = true;
// Set 'kMatrixSerpentineLayout' to false if your pixels are
// laid out all running the same way, like this:
//
//     0 >  1 >  2 >  3 >  4
//                         |
//     .----<----<----<----'
//     |
//     5 >  6 >  7 >  8 >  9
//                         |
//     .----<----<----<----'
//     |
//    10 > 11 > 12 > 13 > 14
//                         |
//     .----<----<----<----'
//     |
//    15 > 16 > 17 > 18 > 19
//
// Set 'kMatrixSerpentineLayout' to true if your pixels are
// laid out back-and-forth, like this:
//
//     0 >  1 >  2 >  3 >  4
//                         |
//                         |
//     9 <  8 <  7 <  6 <  5
//     |
//     |
//    10 > 11 > 12 > 13 > 14
//                        |
//                        |
//    19 < 18 < 17 < 16 < 15
//
// Bonus vocabulary word: anything that goes one way
// in one row, and then backwards in the next row, and so on
// is call "boustrophedon", meaning "as the ox plows."
http://fritzing.org/download/
IP archivée