Understanding DHCP Option 82

Only one resolution available(1024x768) on 10.11.3

I disabled the internal graphic hd4600 Instead, I use the GALAX GT 610 as my graphic card. However it only shows the 1024x768 to me.
Here's my system info
Here's my config.list
https://gist.github.com/poc7667/c719d74e91f19d16ba5a
![inline](https://i.imgur.com/lHGIGCy.png =300x "Title")
![inline](https://i.imgur.com/oIkc46b.png =300x "Title")
![inline](https://i.imgur.com/o4w5X0C.png =300x "Title")
![inline](https://i.imgur.com/A4F4cVn.png =300x "Title")
![inline](https://i.imgur.com/6yHGxQ9.png =300x "Title")
This is my boot log
0:100 0:100 MemLog inited, TSC freq: 3200003850 0:100 0:000 0:100 0:000 Now is 28.1.2016, 0:38:33 (GMT+2047) 0:100 0:000 Starting Clover rev 3333 on American Megatrends EFI 0:100 0:000 SelfDevicePath=PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x2,0xFFFF,0x0)\HD(1,GPT,1F52ECF2-39A5-4A6B-A149-760935D9EDD1,0x28,0x64000) @9F507518 0:100 0:000 SelfDirPath = \EFI\BOOT 0:100 0:000 Total Memory Slots Count = 4 0:100 0:000 Type 17 Index = 0 0:100 0:000 SmbiosTable.Type17->Speed = 1866MHz 0:100 0:000 SmbiosTable.Type17->Size = 8192MB 0:100 0:000 SmbiosTable.Type17->Bank/Device = BANK 0 ChannelA-DIMM0 0:100 0:000 Type 17 Index = 1 0:100 0:000 SmbiosTable.Type17->Speed = 1866MHz 0:100 0:000 SmbiosTable.Type17->Size = 8192MB 0:100 0:000 SmbiosTable.Type17->Bank/Device = BANK 1 ChannelA-DIMM1 0:100 0:000 Type 17 Index = 2 0:100 0:000 SmbiosTable.Type17->Speed = 1866MHz 0:100 0:000 SmbiosTable.Type17->Size = 8192MB 0:100 0:000 SmbiosTable.Type17->Bank/Device = BANK 2 ChannelB-DIMM0 0:100 0:000 Type 17 Index = 3 0:100 0:000 SmbiosTable.Type17->Speed = 1866MHz 0:100 0:000 SmbiosTable.Type17->Size = 8192MB 0:100 0:000 SmbiosTable.Type17->Bank/Device = BANK 3 ChannelB-DIMM1 0:100 0:000 Boot status=0 0:100 0:000 Clover revision: 3333 running on Z97-D3H 0:100 0:000 ... with board Z97-D3H-CF 0:100 0:000 CPU Vendor = 756E6547 Model=306C3 0:100 0:000 The CPU supported turbo 0:100 0:000 BrandString = Intel(R) Core(TM) i5-4460 CPU @ 3.20GHz 0:100 0:000 MSR 0xE2 before patch 1E000404 0:100 0:000 MSR 0xE4 00021814 0:100 0:000 MSR 0xCE 00080838F3012000 0:100 0:000 non-usable FLEX_RATIO = 10000 0:100 0:000 corrected FLEX_RATIO = 0 0:100 0:000 FSBFrequency=100MHz DMIvalue=100000kHz 0:100 0:000 Corrected FSBFrequency=100MHz 0:100 0:000 VendoModel/Stepping: 0x756E6547/0x3C/0x3 0:100 0:000 Family/ExtFamily: 0x6/0x0 0:100 0:000 MaxDiv/MinDiv: 32.0/8 0:100 0:000 Turbo: 32/33/34/34 0:100 0:000 Features: 0xBFEBFBFF 0:100 0:000 Threads: 4 0:100 0:000 Cores: 4 0:100 0:000 FSB: 100 MHz 0:100 0:000 CPU: 3200 MHz 0:100 0:000 TSC: 3200 MHz 0:100 0:000 PIS: 400 MHz 0:100 0:000 PCI (00|00:00.00) : 8086 0C00 class=060000 0:100 0:000 PCI (00|00:01.00) : 8086 0C01 class=060400 0:100 0:000 PCI (00|01:00.00) : 10DE 104A class=030000 0:100 0:000 Found NVidia model=nVidia GeForce GT 610 0:100 0:000 PCI (00|01:00.01) : 10DE 0E08 class=040300 0:100 0:000 PCI (00|00:02.00) : 8086 0412 class=030000 0:100 0:000 Found GFX model=Intel HD Graphics 4600 0:100 0:000 PCI (00|00:03.00) : 8086 0C0C class=040300 0:100 0:000 PCI (00|00:14.00) : 8086 8CB1 class=0C0330 0:100 0:000 PCI (00|00:16.00) : 8086 8CBA class=078000 0:100 0:000 PCI (00|00:19.00) : 8086 153B class=020000 0:100 0:000 LAN 0, Vendor=8086, MMIO=F7800000 0:100 0:000 PCI (00|00:1B.00) : 8086 8CA0 class=040300 0:100 0:000 PCI (00|00:1C.00) : 8086 8C90 class=060400 0:100 0:000 PCI (00|00:1C.03) : 8086 8C96 class=060400 0:100 0:000 PCI (00|03:00.00) : 8086 244E class=060401 0:100 0:000 PCI (00|00:1F.00) : 8086 8CC4 class=060100 0:100 0:000 PCI (00|00:1F.02) : 8086 8C82 class=010601 0:100 0:000 PCI (00|00:1F.03) : 8086 8CA2 class=0C0500 0:100 0:000 Clover load options size = 0 bytes 0:105 0:005 Using OEM config.plist at path: EFI\CLOVER\config.plist 0:105 0:000 EFI\CLOVER\config.plist loaded: Success 0:107 0:002 Found theme directory: applestyle 0:110 0:003 Found theme directory: EMBEDDED 0:111 0:001 Found theme directory: RANDOM 0:112 0:001 Loading early settings 0:112 0:000 timeout set to 1 0:112 0:000 Custom boot CUSTOM_BOOT_DISABLED (0x0) 0:112 0:000 KextsToPatch: 2 requested 0:112 0:000 KextsToPatch 0: AppleHDA (Audio patch) Kext bin patch, data len: 4 0:112 0:000 KextsToPatch 1: AppleAHCIPort (External icons patch) Kext bin patch, data len: 8 0:112 0:000 Default theme: embedded 0:112 0:000 Hiding entries with string VolumeName_NOT_SHOWN 0:112 0:000 Hiding entries with string EntryPath_NOT_SHOWN 0:112 0:000 Hiding entries with string VolumeUUID_NOT_SHOWN 0:112 0:000 CustomEDID ok 0:112 0:000 LoadDrivers() start 0:114 0:002 Loading FSInject-64.efi status=Success 0:116 0:001 Loading OsxAptioFix2Drv-64.efi status=Success 0:117 0:001 Loading OsxFatBinaryDrv-64.efi status=Success 0:118 0:001 Loading VBoxHfs-64.efi status=Success 0:119 0:001 - driver needs connecting 0:119 0:000 1 drivers needs connecting ... 0:119 0:000 PlatformDriverOverrideProtocol->GetDriver overriden 0:119 0:000 Searching for invalid DiskIo BY_DRIVER connects: not found, all ok 0:312 0:192 LoadDrivers() end 0:312 0:000 Dump SMC keys from NVRAM: 0:353 0:041 SetMaxResolution: found best mode 4: 1920x1080 1:190 0:836 Video mode change to mode #4: Success 1:190 0:000 - set 1:190 0:000 Console modes reported: 6, available modes: 1:190 0:000 Mode 1: 80x25 (current mode) 1:190 0:000 Mode 2: 80x50 1:190 0:000 Mode 3: 100x31 1:190 0:000 Mode 4: 128x30 1:190 0:000 Mode 6: 120x50 1:190 0:000 SetScreenResolution: 1920x1080 - already set 1:190 0:000 reinit: self device path=PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x2,0xFFFF,0x0)\HD(1,GPT,1F52ECF2-39A5-4A6B-A149-760935D9EDD1,0x28,0x64000) 2:513 1:322 MAC address of LAN #0= FC:AA:14:C8:87:92: 2:513 0:000 ScanSPD() start 2:513 0:000 SMBus CmdReg: 0x1 2:513 0:000 Scanning SMBus [8086:8CA2], mmio: 0xF7838004, ioport: 0xF040, hostc: 0x11 2:513 0:000 Slots to scan [8]... 2:527 0:014 SPD[0]: Type 11 @0x50 2:536 0:008 DDR speed 1777MHz 2:536 0:000 Slot: 0 Type 24 8192MB 1777MHz Vendor=Kingston PartNo=KHX1866C10D38G SerialNo=060C010805030906 2:550 0:014 SPD[1]: Type 11 @0x51 2:558 0:008 DDR speed 1777MHz 2:558 0:000 Slot: 1 Type 24 8192MB 1777MHz Vendor=Kingston PartNo=KHX1866C10D38G SerialNo=070701080203020E 2:573 0:014 SPD[2]: Type 11 @0x52 2:581 0:008 DDR speed 1777MHz 2:581 0:000 Slot: 2 Type 24 8192MB 1777MHz Vendor=Kingston PartNo=KHX1866C10D38G SerialNo=07040108060F020E 2:595 0:014 SPD[3]: Type 11 @0x53 2:604 0:008 DDR speed 1777MHz 2:604 0:000 Slot: 3 Type 24 8192MB 1777MHz Vendor=Kingston PartNo=KHX1866C10D38G SerialNo=07050108060A020E 2:628 0:024 ScanSPD() end 2:628 0:000 Get Acpi Tables List from RSDT: 2:628 0:000 Found table: FACP A M I len=132 2:628 0:000 Found table: APIC A M I len=114 2:628 0:000 Found table: FPDT A M I len=68 2:628 0:000 Found table: SSDT Ther_Rvp len=3054 2:628 0:000 Found table: SSDT Cpu0Ist len=1337 2:628 0:000 Found table: SSDT CpuSsdt len=2932 2:628 0:000 Found table: MCFG A M I len=60 2:628 0:000 Found table: HPET A M I len=56 2:628 0:000 Found table: SSDT SataTabl len=877 2:628 0:000 Found table: SSDT SaSsdt len=23390 2:628 0:000 Calibrated TSC frequency =3200003850 =3200MHz 2:628 0:000 Loading main settings 2:628 0:000 Read NVCAP:0000000000000000000000000000000000000000 2:628 0:000 USB FixOwnership: true 2:628 0:000 Config set ResetAddr=0x0 2:628 0:000 Config calc ResetVal=0x0 2:628 0:000 Config set ResetVal=0x0 2:628 0:000 Config set ChassisType=0x6 2:628 0:000 Config set QPI=65535MHz 2:628 0:000 Config set CpuFreq=3199MHz 2:628 0:000 Config set CpuType=605 2:628 0:000 Config set BusSpeed=99999kHz 2:628 0:000 Error: invalid CustomUUID '' - should be in the format XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX 2:628 0:000 found 4 volumes with blockIO 2:628 0:000 0. Volume: 2:628 0:000 PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x2,0xFFFF,0x0) 2:629 0:000 Result of bootcode detection: bootable unknown (legacy) 2:629 0:000 1. Volume: 2:629 0:000 PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x2,0xFFFF,0x0)\HD(1,GPT,1F52ECF2-39A5-4A6B-A149-760935D9EDD1,0x28,0x64000) 2:629 0:000 Result of bootcode detection: bootable Clover (clover) 2:635 0:005 This is SelfVolume !! 2:635 0:000 2. Volume: 2:635 0:000 PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x2,0xFFFF,0x0)\HD(2,GPT,7BB0DBB6-3FB6-4FCF-9508-35C31C06D230,0x64028,0x1BD8A540) 2:636 0:000 3. Volume: 2:636 0:000 PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x2,0xFFFF,0x0)\HD(3,GPT,99455448-8CE7-426E-8E5C-D7A16F77F418,0x1BDEE568,0x135F20) 2:636 0:000 using embedded theme 2:636 0:000 Choosing theme 2:637 0:000 Custom entries start 2:637 0:000 Custom entries finish 2:637 0:000 Scanning loaders... 2:637 0:000 0: 'Whole Disc Boot' no file system 2:637 0:000 1: 'EFI' 3:545 0:908 2: 'capitan' 3:554 0:008 AddLoaderEntry for Volume Name=capitan 3:559 0:004 Check if volume Is Hibernated: 3:559 0:000 Check sleep image 'by signature': 3:565 0:006 read prefs \Library\Preferences\SystemConfiguration\com.apple.PowerManagement.plist status=Success 3:565 0:000 SleepImage name from pref: ImageVolume = 'capitan', ImageName = '\private\var\vm\sleepimage' 3:570 0:004 Reading first 512 bytes of sleepimage ... 3:570 0:000 OurBlockIoRead: Lba=173E5828, Offset=2E7CB05000 (BlockSize=512) 3:570 0:000 sig lion: 1010004 3:570 0:000 sig snow: 42601 3:570 0:000 no valid sleep image offset was found 3:570 0:000 Reading completed -> Success 3:570 0:000 sleepimage offset could not be acquired 3:570 0:000 hibernated: no - sign 3:573 0:003 3: 'Recovery HD' 3:574 0:001 AddLoaderEntry for Volume Name=Recovery HD 3:576 0:001 Custom legacy start 3:576 0:000 Custom legacy end 3:576 0:000 Scanning legacy ... 3:576 0:000 0: 'Whole Disc Boot' (legacy) not legacy 3:576 0:000 1: 'EFI' (clover) add legacy 3:576 0:000 added 'Boot Clover from EFI' OSType=3 Icon=clover 3:576 0:000 2: 'capitan' (legacy) not legacy 3:576 0:000 3: 'Recovery HD' (legacy) not legacy 3:576 0:000 Custom tool start 3:576 0:000 Custom tool end 3:578 0:001 found tool \EFI\CLOVER\tools\Shell64U.efi 3:578 0:000 Checking EFI partition Volume 1 for Clover 3:578 0:000 Found Clover 3:579 0:000 GetEfiBootDeviceFromNvram: efi-boot-device-data not found 3:579 0:000 EfiBootVolume not found 3:579 0:000 found entry 0. 'Boot Mac OS X from capitan', Volume 'capitan', DevicePath 'PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x2,0xFFFF,0x0)\HD(2,GPT,7BB0DBB6-3FB6-4FCF-9508-35C31C06D230,0x64028,0x1BD8A540)\System\Library\CoreServices\boot.efi' 3:579 0:000 DefaultIndex=0 and MainMenu.EntryCount=9 3:647 0:067 Found Mouse device: 3:648 0:000 GUI ready 5:648 2:000 StartLoader() start 5:648 0:000 Entry->Settings: 5:648 0:000 Finally: Bus=99999kHz CPU=3199MHz 5:648 0:000 Kernel and Kext Patches at 90FE82B0: 5:648 0:000 Allowed: y 5:648 0:000 Debug: n 5:648 0:000 KernelCpu: n 5:648 0:000 Lapic: n 5:648 0:000 Haswell-E: n 5:648 0:000 AICPUPM: y 5:648 0:000 AppleRTC: y 5:648 0:000 KernelPm: y 5:648 0:000 FakeCPUID: 0x0 5:648 0:000 ATIController: null 5:648 0:000 ATIDataLength: 0 5:648 0:000 0 Kexts to load 5:648 0:000 2 Kexts to patch 5:648 0:000 KextPatch[0]: 4 bytes, AppleHDA 5:648 0:000 KextPatch[1]: 8 bytes, AppleAHCIPort 5:648 0:000 Loading boot.efi status=Success 5:861 0:213 GetOSVersion: : 10.11.3 5:862 0:000 insert table 9 for dev 0:0 5:862 0:000 insert table 9 for dev 0:1 5:862 0:000 insert table 9 for dev 19:0 5:862 0:000 Channels: 2 5:862 0:000 Interleave: 0 2 1 3 4 6 5 7 8 10 9 11 12 14 13 15 16 18 17 19 20 22 21 23 5:862 0:000 SMBIOS Type 17 Index = 0 => 0 0: 5:862 0:000 DIMM1 1777MHz 8192MB 5:862 0:000 mTotalSystemMemory = 8192 5:862 0:000 SMBIOS Type 17 Index = 1 => 2 2: 5:862 0:000 DIMM2 1777MHz 8192MB 5:862 0:000 mTotalSystemMemory = 16384 5:862 0:000 SMBIOS Type 17 Index = 2 => 1 1: 5:862 0:000 DIMM3 1777MHz 8192MB 5:862 0:000 mTotalSystemMemory = 24576 5:862 0:000 SMBIOS Type 17 Index = 3 => 3 3: 5:862 0:000 DIMM4 1777MHz 8192MB 5:862 0:000 mTotalSystemMemory = 32768 5:862 0:000 NumberOfMemoryDevices = 4 5:862 0:000 Type20[0]->End = 0x7FFFFF, Type17[0] = 0x2000 5:862 0:000 Type20[1]->End = 0x17FFFFF, Type17[2] = 0x8000 5:862 0:000 Type20[2]->End = 0xFFFFFF, Type17[1] = 0xC000 5:862 0:000 Type20[3]->End = 0x1FFFFFF, Type17[3] = 0x14000 5:862 0:000 Table 131 is present, CPUType=31 5:862 0:000 Change to: 605 5:862 0:000 RSDT 0xABDC5028 5:862 0:000 FADT from RSDT: 0xABDC5100 5:862 0:000 XSDT 0xABDC5078 5:862 0:000 FADT from XSDT: 0xABDD5AD8 5:862 0:000 Xsdt reallocation done 5:862 0:000 old FADT length=10C 5:862 0:000 Found OperationRegion(GNVS, SystemMemory, ABDFCA98, ...) 5:862 0:000 Found OperationRegion(PNVA, SystemMemory, ABDFDD98, ...) 5:862 0:000 Found OperationRegion(CPSB, SystemMemory, ABC5AE98, ...) 5:862 0:000 Found OperationRegion(TMMB, SystemMemory, FED40000, ...) 5:864 0:001 Apply DsdtFixMask=0x00000000 old way 5:864 0:000 drop _DSM mask=0x0000 5:864 0:000 ========= Auto patch DSDT Starting ======== 5:864 0:000 VideoCard devID=0x104A10DE 5:864 0:000 DisplayADR1[0] = 0x10000, DisplayADR2[0] = 0x0 5:864 0:000 VideoCard devID=0x4128086 5:864 0:000 DisplayADR1[1] = 0x20000, DisplayADR2[1] = 0xFFFE 5:864 0:000 USBADR[0] = 0x140000 and PCIe = 0xFFFE 5:973 0:109 Audio HDA (addr:0x1B0000) setting specified layout-id=1 (0x1) 5:973 0:000 first CPU found at B7FC offset B7FF 5:973 0:000 score candidate at B7F8 5:973 0:000 score inserted in acpi_cpu_score _PR 5:973 0:000 Found ACPI CPU: CPU0 And CPU1 And CPU2 And CPU3 And CPU4 And CPU5 And CPU6 And CPU7 within the score: PR 5:974 0:000 Found PCIROOTUID = 0 5:974 0:000 ========= Auto patch DSDT Finished ======== 5:974 0:000 Patch table: SSDT Ther_Rvp 5:974 0:000 SSDT len = 0xBEE 5:974 0:000 Patch table: SSDT Cpu0Ist 5:974 0:000 SSDT len = 0x539 5:974 0:000 Patch table: SSDT CpuSsdt 5:974 0:000 SSDT len = 0xB74 5:974 0:000 Patch table: SSDT SataTabl 5:974 0:000 SSDT len = 0x36D 5:974 0:000 Patch table: SSDT SaSsdt 5:974 0:000 SSDT len = 0x5B5E 5:974 0:000 Drop tables from Xsdt, SIGN=XXXX TableID= Length=0 5:974 0:000 Xsdt has tables count=10 5:974 0:000 corrected XSDT length=116 5:974 0:000 Inserting SSDT-SB-OC.aml from EFI\CLOVER\ACPI\patched ... Success 5:975 0:001 CPUBase=0 and ApicCPUBase=1 ApicCPUNum=4 5:975 0:000 EdidDiscovered size=128 5:975 0:000 00 | 00 FF FF FF FF FF FF 00 15 C3 31 25 01 01 01 01 5:975 0:000 16 | 2F 18 01 03 80 35 1E 78 EA 7E 75 A7 55 52 9C 27 5:975 0:000 32 | 0F 50 54 A1 08 00 81 80 B3 00 A9 C0 81 C0 81 00 5:975 0:000 48 | 01 01 01 01 01 01 02 3A 80 18 71 38 2D 40 58 2C 5:975 0:000 64 | 45 00 10 29 21 00 00 1E 00 00 00 FF 00 33 36 30 5:975 0:000 80 | 34 31 31 31 34 0A 20 20 20 20 00 00 00 FD 00 31 5:975 0:000 96 | 3D 0F 44 0F 00 0A 20 20 20 20 20 20 00 00 00 FC 5:975 0:000 112 | 00 45 56 32 34 35 30 0A 20 20 20 20 20 20 01 03 5:975 0:000 NVidia GFX injection not set 5:975 0:000 Intel GFX injection not set 5:975 0:000 HDA Controller [8086:0C0C] :: PciRoot(0x0)\Pci(0x3,0x0) => setting specified layout-id=1 (0x1) 5:975 0:000 USB Controller [8086:8CB1] :: PciRoot(0x0)\Pci(0x14,0x0) 5:975 0:000 LAN Controller [8086:153B] :: PciRoot(0x0)\Pci(0x19,0x0) 5:975 0:000 HDA Controller [8086:8CA0] :: PciRoot(0x0)\Pci(0x1B,0x0) => setting specified layout-id=1 (0x1) 5:975 0:000 RCBA access disabled; trying to enable 5:975 0:000 stringlength = 1362 5:975 0:000 CurrentMode: Width=1920 Height=1080 5:975 0:000 Beginning FSInjection FSInjectionInstall ... - Our FSI_SIMPLE_FILE_SYSTEM_PROTOCOL installed on handle: 9F507218 FSInjectionInstall ... - Our FSI_SIMPLE_FILE_SYSTEM_PROTOCOL installed on handle: 9F507218 5:980 0:005 Preparing kexts injection for arch=x86_64 from EFI\CLOVER\kexts\Other 5:981 0:000 Preparing kexts injection for arch=x86_64 from EFI\CLOVER\kexts\10.11 5:983 0:002 Extra kext: EFI\CLOVER\kexts\10.11\AppleACPIPS2Nub.kext 5:986 0:003 Extra kext: EFI\CLOVER\kexts\10.11\ApplePS2Controller.kext 5:993 0:006 Extra PlugIn kext: EFI\CLOVER\kexts\10.11\ApplePS2Controller.kext\Contents\PlugIns\ApplePS2Keyboard.kext 5:997 0:004 Extra PlugIn kext: EFI\CLOVER\kexts\10.11\ApplePS2Controller.kext\Contents\PlugIns\ApplePS2Mouse.kext 6:000 0:003 Extra PlugIn kext: EFI\CLOVER\kexts\10.11\ApplePS2Controller.kext\Contents\PlugIns\ApplePS2Trackpad.kext 6:004 0:004 Extra kext: EFI\CLOVER\kexts\10.11\FakeSMC.kext 6:008 0:004 Extra kext: EFI\CLOVER\kexts\10.11\NullCPUPowerManagement.kext 6:014 0:005 Removed efi-boot-device-data variable: Not Found 6:014 0:000 Custom boot screen not used because entry has unset use graphics 6:014 0:000 Closing log
submitted by poc7667 to hackintosh [link] [comments]

Adafruit Space Invader pendant. Want to convert to using a bicolor 1.2 led matrix. How would the code change?

 // Trinket/Gemma + LED matrix backpack jewelry. Plays animated // sequence on LED matrix. Press reset button to display again, // or add optional momentary button between pin #1 and +V. // THERE IS NO ANIMATION DATA IN THIS SOURCE FILE, you should // rarely need to change anything here. EDIT anim.h INSTEAD. #define BRIGHTNESS 14 // 0=min, 15=max #define I2C_ADDR 0x70 // Edit if backpack A0/A1 jumpers set #include  #include  #include  #include "anim2.h" // Animation data is located here #include "anim3.h" // Animation data is located here #include "anim4.h" // Animation data is located here static const uint8_t PROGMEM reorder[] = { // Column-reordering table 0x00,0x40,0x20,0x60,0x10,0x50,0x30,0x70,0x08,0x48,0x28,0x68,0x18,0x58,0x38,0x78, 0x04,0x44,0x24,0x64,0x14,0x54,0x34,0x74,0x0c,0x4c,0x2c,0x6c,0x1c,0x5c,0x3c,0x7c, 0x02,0x42,0x22,0x62,0x12,0x52,0x32,0x72,0x0a,0x4a,0x2a,0x6a,0x1a,0x5a,0x3a,0x7a, 0x06,0x46,0x26,0x66,0x16,0x56,0x36,0x76,0x0e,0x4e,0x2e,0x6e,0x1e,0x5e,0x3e,0x7e, 0x01,0x41,0x21,0x61,0x11,0x51,0x31,0x71,0x09,0x49,0x29,0x69,0x19,0x59,0x39,0x79, 0x05,0x45,0x25,0x65,0x15,0x55,0x35,0x75,0x0d,0x4d,0x2d,0x6d,0x1d,0x5d,0x3d,0x7d, 0x03,0x43,0x23,0x63,0x13,0x53,0x33,0x73,0x0b,0x4b,0x2b,0x6b,0x1b,0x5b,0x3b,0x7b, 0x07,0x47,0x27,0x67,0x17,0x57,0x37,0x77,0x0f,0x4f,0x2f,0x6f,0x1f,0x5f,0x3f,0x7f, 0x80,0xc0,0xa0,0xe0,0x90,0xd0,0xb0,0xf0,0x88,0xc8,0xa8,0xe8,0x98,0xd8,0xb8,0xf8, 0x84,0xc4,0xa4,0xe4,0x94,0xd4,0xb4,0xf4,0x8c,0xcc,0xac,0xec,0x9c,0xdc,0xbc,0xfc, 0x82,0xc2,0xa2,0xe2,0x92,0xd2,0xb2,0xf2,0x8a,0xca,0xaa,0xea,0x9a,0xda,0xba,0xfa, 0x86,0xc6,0xa6,0xe6,0x96,0xd6,0xb6,0xf6,0x8e,0xce,0xae,0xee,0x9e,0xde,0xbe,0xfe, 0x81,0xc1,0xa1,0xe1,0x91,0xd1,0xb1,0xf1,0x89,0xc9,0xa9,0xe9,0x99,0xd9,0xb9,0xf9, 0x85,0xc5,0xa5,0xe5,0x95,0xd5,0xb5,0xf5,0x8d,0xcd,0xad,0xed,0x9d,0xdd,0xbd,0xfd, 0x83,0xc3,0xa3,0xe3,0x93,0xd3,0xb3,0xf3,0x8b,0xcb,0xab,0xeb,0x9b,0xdb,0xbb,0xfb, 0x87,0xc7,0xa7,0xe7,0x97,0xd7,0xb7,0xf7,0x8f,0xcf,0xaf,0xef,0x9f,0xdf,0xbf,0xff }; int animationSection = 0; void ledCmd(uint8_t x) { // Issue command to LED backback driver Wire.beginTransmission(I2C_ADDR); Wire.write(x); Wire.endTransmission(); } void clear(void) { // Clear display buffer Wire.beginTransmission(I2C_ADDR); for(uint8_t i=0; i<17; i++) Wire.write(0); Wire.endTransmission(); } void setup() { power_timer1_disable(); // Disable unused peripherals power_adc_disable(); // to save power PCMSK |= _BV(PCINT1); // Set change mask for pin 1 Wire.begin(); // I2C init clear(); // Blank display ledCmd(0x21); // Turn on oscillator ledCmd(0xE0 | BRIGHTNESS); // Set brightness ledCmd(0x81); // Display on, no blink } uint8_t rep = REPS; void loop() { switch (animationSection) { case 0: for(int i=0; i 10) { animationSection = 0; } if(!--rep) { // If last cycle... ledCmd(0x20); // LED matrix in standby mode // GIMSK = _BV(PCIE); // Enable pin change interrupt // power_all_disable(); // All peripherals off // set_sleep_mode(SLEEP_MODE_PWR_DOWN); // sleep_enable(); // sei(); // Keep interrupts disabled // sleep_mode(); // Power down CPU (pin 1 will wake) // Execution resumes here on wake. // PLD - Simply Sleep for 2 minutes then start again... //delay(100000); //delay(100000); delay(120000); animationSection = 0; GIMSK = 0; // Disable pin change interrupt rep = REPS; // Reset animation counter power_timer0_enable(); // Re-enable timer power_usi_enable(); // Re-enable USI Wire.begin(); // Re-init I2C clear(); // Blank display ledCmd(0x21); // Re-enable matrix } } ISR(PCINT0_vect) {} // Button tap 
This is a section of the anim file. I want to be able to set the various colors in these "frames"
// Animation data for Trinket/Gemma + LED matrix backpack jewelry. // Edit this file to change the animation; it's unlikely you'll need // to edit the source code. #define REPS 10 // Number of times to repeat the animation loop (1-255) const int frameSpeed2 = 3; const uint8_t PROGMEM anim2[] = { // Animation bitmaps. Each frame of animation MUST contain // 8 lines of graphics data (there is no error checking for // length). Each line should be prefixed with the letter 'B', // followed by exactly 8 binary digits (0 or 1), no more, // no less (again, no error checking). '0' represents an // 'off' pixel, '1' an 'on' pixel. End line with a comma. B00000000, B00000000, B00000000, B00000000, B00000000, B00000000, B00000000, B00000000, frameSpeed2, // 0.10 seconds }; 
submitted by pldiguanaman to arduino [link] [comments]

Changed my theme, now autoboot doesn't work.

Hey guys, So I changed my Clover theme using Clover Configurator, and now my autoboot doesn't work. I'm pretty sure it has something to do with the theme altering my NVRAM. I've tried changing the default boot volume to my UUID and that still doesn't work. However, when I select my Macintosh hard drive as a startup disk in preferences, it will autoboot the first time and then fail to autoboot subsequent times. Below is a copy of my boot.log. Any ideas? Thanks.
0:100 0:100 MemLog inited, TSC freq: 3499997738 0:100 0:000 0:100 0:000 Now is 24.11.2015, 6:37:43 (GMT+2047) 0:100 0:000 Starting Clover rev 3320 on American Megatrends EFI 0:100 0:000 SelfDevicePath=PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x0,0xFFFF,0x0)\HD(1,GPT,20C7F91B-D47C-498B-8E20-A475B63FD533,0x28,0x64000) @49DF2A18 0:100 0:000 SelfDirPath = \EFI\CLOVER 0:100 0:000 Total Memory Slots Count = 4 0:100 0:000 Type 17 Index = 0 0:100 0:000 SmbiosTable.Type17->Speed = 1333MHz 0:100 0:000 SmbiosTable.Type17->Size = 8192MB 0:100 0:000 SmbiosTable.Type17->Bank/Device = BANK 0 ChannelA-DIMM0 0:100 0:000 Type 17 Index = 1 0:100 0:000 SmbiosTable.Type17->Speed = 1333MHz 0:100 0:000 SmbiosTable.Type17->Size = 8192MB 0:100 0:000 SmbiosTable.Type17->Bank/Device = BANK 1 ChannelA-DIMM1 0:100 0:000 Type 17 Index = 2 0:100 0:000 SmbiosTable.Type17->Speed = 1333MHz 0:100 0:000 SmbiosTable.Type17->Size = 8192MB 0:100 0:000 SmbiosTable.Type17->Bank/Device = BANK 2 ChannelB-DIMM0 0:100 0:000 Type 17 Index = 3 0:100 0:000 SmbiosTable.Type17->Speed = 1333MHz 0:100 0:000 SmbiosTable.Type17->Size = 8192MB 0:100 0:000 SmbiosTable.Type17->Bank/Device = BANK 3 ChannelB-DIMM1 0:100 0:000 Boot status=0 0:100 0:000 Clover revision: 3320 running on Z97X-UD7 TH 0:100 0:000 ... with board Z97X-UD7 TH-CF 0:100 0:000 CPU Vendor = 756E6547 Model=306C3 0:100 0:000 The CPU supported turbo 0:100 0:000 BrandString = Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz 0:100 0:000 MSR 0xE2 before patch 1E000404 0:100 0:000 MSR 0xE4 00021814 0:100 0:000 MSR 0xCE 00080838F3012300 0:100 0:000 non-usable FLEX_RATIO = F0000 0:100 0:000 corrected FLEX_RATIO = E0000 0:100 0:000 FSBFrequency=100MHz DMIvalue=100000kHz 0:100 0:000 Corrected FSBFrequency=100MHz 0:100 0:000 VendoModel/Stepping: 0x756E6547/0x3C/0x3 0:100 0:000 Family/ExtFamily: 0x6/0x0 0:100 0:000 MaxDiv/MinDiv: 35.0/8 0:100 0:000 Turbo: 39/39/39/39 0:100 0:000 Features: 0xBFEBFBFF 0:100 0:000 Threads: 4 0:100 0:000 Cores: 4 0:100 0:000 FSB: 100 MHz 0:100 0:000 CPU: 3500 MHz 0:100 0:000 TSC: 3500 MHz 0:100 0:000 PIS: 400 MHz 0:100 0:000 PCI (00|00:00.00) : 8086 0C00 class=060000 0:100 0:000 PCI (00|00:01.00) : 8086 0C01 class=060400 0:100 0:000 PCI (00|01:00.00) : 10DE 0FC8 class=030000 0:100 0:000 Found NVidia model=EVGA GeForce GT 740 0:100 0:000 PCI (00|01:00.01) : 10DE 0E1B class=040300 0:100 0:000 PCI (00|00:14.00) : 8086 8CB1 class=0C0330 0:100 0:000 PCI (00|00:16.00) : 8086 8CBA class=078000 0:100 0:000 PCI (00|00:19.00) : 8086 153B class=020000 0:100 0:000 LAN 0, Vendor=8086, MMIO=DC300000 0:100 0:000 PCI (00|00:1A.00) : 8086 8CAD class=0C0320 0:100 0:000 PCI (00|00:1B.00) : 8086 8CA0 class=040300 0:100 0:000 PCI (00|00:1C.00) : 8086 8C90 class=060400 0:100 0:000 PCI (00|00:1C.02) : 8086 8C94 class=060400 0:100 0:000 PCI (00|03:00.00) : 10B5 8605 class=060400 0:100 0:000 PCI (00|04:01.00) : 10B5 8605 class=060400 0:100 0:000 PCI (00|04:02.00) : 10B5 8605 class=060400 0:100 0:000 PCI (00|04:03.00) : 10B5 8605 class=060400 0:100 0:000 PCI (00|00:1C.03) : 8086 8C96 class=060400 0:100 0:000 PCI (00|08:00.00) : 1B4B 9172 class=010601 0:100 0:000 PCI (00|00:1C.04) : 8086 8C98 class=060400 0:100 0:000 PCI (00|00:1D.00) : 8086 8CA6 class=0C0320 0:100 0:000 PCI (00|00:1F.00) : 8086 8CC4 class=060100 0:100 0:000 PCI (00|00:1F.02) : 8086 8C82 class=010601 0:100 0:000 PCI (00|00:1F.03) : 8086 8CA2 class=0C0500 0:100 0:000 Clover load options size = 40 bytes 0:100 0:000 Clover started with option to boot bootmgfw.efi from EFI 0:102 0:002 Using OEM config.plist at path: EFI\CLOVER\config.plist 0:103 0:000 EFI\CLOVER\config.plist loaded: Success 0:105 0:002 Found theme directory: EMBEDDED 0:106 0:001 Found theme directory: RANDOM 0:108 0:001 Found theme directory: ICLOVER 0:111 0:003 Loading early settings 0:111 0:000 timeout set to 3 0:111 0:000 Custom boot CUSTOM_BOOT_DISABLED (0x0) 0:111 0:000 KextsToPatch: 5 requested 0:111 0:000 KextsToPatch 0: AppleHDA (10.11-AppleHDA/Realtek ALC...) Kext bin patch, data len: 4 0:111 0:000 KextsToPatch 1: AppleHDAController (HD4600_HDMI_Audio-1of2) Kext bin patch, data len: 5 0:111 0:000 KextsToPatch 2: AppleHDAController (HD4600_HDMI_Audio-2of2) Kext bin patch, data len: 5 0:111 0:000 KextsToPatch 3: AppleHDA (10.9-10.11-AppleHDA/Realtek ALC1150) Kext bin patch, data len: 4 0:111 0:000 KextsToPatch 4: AppleHDA (AppleHDA/Resources/xml>zml) Kext bin patch, data len: 6 0:111 0:000 Default theme: iclover 0:111 0:000 LoadDrivers() start 0:112 0:001 Loading FSInject-64.efi status=Success 0:113 0:001 Loading OsxAptioFix2Drv-64.efi status=Success 0:114 0:001 Loading OsxFatBinaryDrv-64.efi status=Success 0:115 0:001 Loading VBoxHfs-64.efi status=Success 0:116 0:001 - driver needs connecting 0:116 0:000 1 drivers needs connecting ... 0:116 0:000 PlatformDriverOverrideProtocol->GetDriver overriden 0:116 0:000 Searching for invalid DiskIo BY_DRIVER connects: not found, all ok 0:239 0:123 LoadDrivers() end 0:239 0:000 Dump SMC keys from NVRAM: 0:283 0:043 SetScreenResolution: 1920x1080 - setting Mode 4 0:608 0:324 Video mode change to mode #4: Success 0:608 0:000 Console modes reported: 6, available modes: 0:608 0:000 Mode 1: 80x25 (current mode) 0:608 0:000 Mode 2: 80x50 0:608 0:000 Mode 3: 100x31 0:608 0:000 Mode 4: 128x30 0:608 0:000 Mode 6: 120x50 0:608 0:000 reinit: self device path=PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x0,0xFFFF,0x0)\HD(1,GPT,20C7F91B-D47C-498B-8E20-A475B63FD533,0x28,0x64000) 1:904 1:296 MAC address of LAN #0= 40:8D:5C:11:6B:BB: 1:904 0:000 ScanSPD() start 1:905 0:000 SMBus CmdReg: 0x1 1:905 0:000 Scanning SMBus [8086:8CA2], mmio: 0xDC334004, ioport: 0xF000, hostc: 0x11 1:905 0:000 Slots to scan [8]... 1:919 0:014 SPD[0]: Type 11 @0x50 1:927 0:008 Found module with XMP version 1.3XMP Profile1: 101/8ns 1:927 0:000 Using XMP Profile1 instead of standard frequency 1333MHz 1:927 0:000 DDR speed 1600MHz 1:927 0:000 Slot: 0 Type 24 8192MB 1600MHz Vendor=Crucial Technology PartNo=BLT8G3D1608DT1TX0. SerialNo=0A07000A0D0A030E 1:941 0:014 SPD[1]: Type 11 @0x51 1:950 0:008 Found module with XMP version 1.3XMP Profile1: 101/8ns 1:950 0:000 Using XMP Profile1 instead of standard frequency 1333MHz 1:950 0:000 DDR speed 1600MHz 1:950 0:000 Slot: 1 Type 24 8192MB 1600MHz Vendor=Crucial Technology PartNo=BLT8G3D1608DT1TX0. SerialNo=0A07000A0D0A030D 1:964 0:014 SPD[2]: Type 11 @0x52 1:972 0:008 Found module with XMP version 1.3XMP Profile1: 101/8ns 1:972 0:000 Using XMP Profile1 instead of standard frequency 1333MHz 1:972 0:000 DDR speed 1600MHz 1:972 0:000 Slot: 2 Type 24 8192MB 1600MHz Vendor=Crucial Technology PartNo=BLT8G3D1608DT1TX0. SerialNo=0A0101060A010D04 1:987 0:014 SPD[3]: Type 11 @0x53 1:995 0:008 Found module with XMP version 1.3XMP Profile1: 101/8ns 1:995 0:000 Using XMP Profile1 instead of standard frequency 1333MHz 1:995 0:000 DDR speed 1600MHz 1:995 0:000 Slot: 3 Type 24 8192MB 1600MHz Vendor=Crucial Technology PartNo=BLT8G3D1608DT1TX0. SerialNo=0A0101060A02000C 2:019 0:024 ScanSPD() end 2:019 0:000 Get Acpi Tables List from RSDT: 2:019 0:000 Found table: FACP A M I len=132 2:019 0:000 Found table: APIC A M I len=114 2:019 0:000 Found table: FPDT A M I len=68 2:019 0:000 Found table: SSDT Ther_Rvp len=3054 2:019 0:000 Found table: SSDT Cpu0Ist len=1337 2:019 0:000 Found table: SSDT CpuSsdt len=2932 2:019 0:000 Found table: MCFG A M I len=60 2:019 0:000 Found table: HPET A M I len=56 2:019 0:000 Found table: SSDT SataTabl len=877 2:019 0:000 Found table: SSDT SaSsdt len=23390 2:019 0:000 Found table: BGRT A M I len=56 2:019 0:000 Calibrated TSC frequency =3499997738 =3499MHz 2:019 0:000 Loading main settings 2:019 0:000 Config set ChassisType=0xD 2:019 0:000 found 13 volumes with blockIO 2:019 0:000 0. Volume: 2:019 0:000 PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x0,0xFFFF,0x0) 2:021 0:002 1. Volume: 2:021 0:000 PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x1,0xFFFF,0x0) 2:022 0:000 2. Volume: 2:022 0:000 PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x2,0xFFFF,0x0) 2:025 0:003 3. Volume: 2:025 0:000 PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x3,0xFFFF,0x0) 2:025 0:000 found optical drive 2:025 0:000 4. Volume: 2:025 0:000 PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x0,0xFFFF,0x0)\HD(1,GPT,20C7F91B-D47C-498B-8E20-A475B63FD533,0x28,0x64000) 2:026 0:000 Result of bootcode detection: bootable unknown (legacy) 2:031 0:004 This is SelfVolume !! 2:031 0:000 5. Volume: 2:031 0:000 PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x0,0xFFFF,0x0)\HD(2,GPT,DE5DDDF8-DCCC-4EB6-9C3F-66280BDC8184,0x64028,0x1D02BA00) 2:031 0:000 6. Volume: 2:031 0:000 PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x0,0xFFFF,0x0)\HD(3,GPT,C1E3C1BD-DB5E-4405-96E5-4CCE9D6EA4DB,0x1D08FA28,0x135F20) 2:032 0:000 7. Volume: 2:032 0:000 PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x1,0xFFFF,0x0)\HD(1,GPT,E6565B12-56A7-463D-B8B0-45E8B0427543,0x800,0xE1000) 2:032 0:000 Result of bootcode detection: bootable Windows (vista,win) 2:032 0:000 8. Volume: 2:032 0:000 PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x1,0xFFFF,0x0)\HD(2,GPT,2096CC5A-813D-40D7-95EB-B9D8DD36AA74,0xE1800,0x32000) 2:033 0:000 Result of bootcode detection: bootable Windows (vista,win) 2:060 0:027 9. Volume: 2:060 0:000 PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x1,0xFFFF,0x0)\HD(3,GPT,679EE6DA-4DAB-43E8-BD06-205CCC567065,0x113800,0x8000) 2:061 0:000 10. Volume: 2:061 0:000 PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x1,0xFFFF,0x0)\HD(4,GPT,0EC1B9F7-E828-4A69-88E4-9297B267FC6D,0x11B800,0x745EB000) 2:061 0:000 Result of bootcode detection: bootable Windows (vista,win) 2:061 0:000 11. Volume: 2:061 0:000 PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x2,0xFFFF,0x0)\HD(1,GPT,B6C833AC-6424-4AF7-8690-6E71843F1B87,0x28,0x64000) 2:062 0:000 Result of bootcode detection: bootable unknown (legacy) 2:071 0:009 12. Volume: 2:071 0:000 PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x2,0xFFFF,0x0)\HD(2,GPT,DA3D8410-9259-4D2C-B305-A2EC39E00417,0x64028,0x74662D60) 2:073 0:002 Using theme 'iclover' (EFI\CLOVER\themes\iclover) 2:073 0:000 theme iclover defined in NVRAM found and theme.plist parsed 2:075 0:001 Choosing theme iclover 2:075 0:000 Custom entries start 2:075 0:000 Custom entry 0 skipped because it is hidden. 2:075 0:000 Custom entries finish 2:075 0:000 Scanning loaders... 2:075 0:000 0: 'Whole Disc Boot' no file system 2:075 0:000 1: 'Whole Disc Boot' no file system 2:075 0:000 2: 'Whole Disc Boot' no file system 2:075 0:000 3: 'Whole Disc Boot' no file system 2:075 0:000 4: 'EFI' 2:090 0:014 5: 'Macintosh' 2:099 0:008 AddLoaderEntry for Volume Name=Macintosh 2:099 0:000 Not match custom entry 0: Volume: not match, VolumeType: match, Type: not match 2:104 0:004 Check if volume Is Hibernated: 2:104 0:000 Check sleep image 'by signature': 2:110 0:006 read prefs \Library\Preferences\SystemConfiguration\com.apple.PowerManagement.plist status=Success 2:110 0:000 SleepImage name from pref: ImageVolume = 'Macintosh', ImageName = '\private\var\vm\sleepimage' 2:116 0:005 Reading first 512 bytes of sleepimage ... 2:116 0:000 OurBlockIoRead: Lba=45268C8, Offset=8A4D19000 (BlockSize=512) 2:116 0:000 sig lion: DBFF63 2:116 0:000 sig snow: 4D3E6768 2:116 0:000 no valid sleep image offset was found 2:116 0:000 Reading completed -> Success 2:116 0:000 sleepimage offset could not be acquired 2:116 0:000 hibernated: no - sign 2:130 0:014 6: 'Recovery HD' 2:132 0:001 AddLoaderEntry for Volume Name=Recovery HD 2:132 0:000 Skipped because matching custom entry 0! 2:141 0:009 7: 'Legacy HD1' no file system 2:141 0:000 8: 'EFI' 2:142 0:000 AddLoaderEntry for Volume Name=EFI 2:142 0:000 Not match custom entry 0: Volume: not match, VolumeType: match, Type: not match 2:153 0:011 9: 'Legacy HD3' no file system 2:153 0:000 10: 'Legacy HD4' no file system 2:153 0:000 11: 'EFI' 2:163 0:009 12: 'Macintosh Data' 2:180 0:016 Custom legacy start 2:180 0:000 Custom legacy end 2:180 0:000 Custom tool start 2:180 0:000 Custom tool end 2:182 0:001 found tool \EFI\CLOVER\tools\Shell64U.efi 2:182 0:000 Checking EFI partition Volume 4 for Clover 2:182 0:000 Found Clover 2:183 0:000 Checking EFI partition Volume 8 for Clover 2:183 0:000 Checking EFI partition Volume 11 for Clover 2:186 0:002 GetEfiBootDeviceFromNvram: efi-boot-device-data not found 2:187 0:000 EfiBootVolume not found 2:187 0:000 Default boot entry not found 2:187 0:000 DefaultIndex=-1 and MainMenu.EntryCount=8 2:187 0:000 Use anime=iClover_logo frames=4 2:274 0:087 Found Mouse device: 2:275 0:000 GUI ready 19:933 17:658 BootOption of the entry is empty 19:933 0:000 StartLoader() start 19:933 0:000 Entry->Settings: 19:933 0:000 Finally: Bus=99999kHz CPU=3500MHz 19:933 0:000 Kernel and Kext Patches at 3D4800F0: 19:933 0:000 Allowed: y 19:933 0:000 Debug: n 19:933 0:000 KernelCpu: n 19:933 0:000 Lapic: n 19:933 0:000 Haswell-E: n 19:933 0:000 AICPUPM: y 19:933 0:000 AppleRTC: y 19:933 0:000 KernelPm: y 19:933 0:000 FakeCPUID: 0x0 19:933 0:000 ATIController: null 19:933 0:000 ATIDataLength: 0 19:933 0:000 0 Kexts to load 19:933 0:000 5 Kexts to patch 19:933 0:000 KextPatch[0]: 4 bytes, AppleHDA 19:933 0:000 KextPatch[1]: 5 bytes, AppleHDAController 19:933 0:000 KextPatch[2]: 5 bytes, AppleHDAController 19:933 0:000 KextPatch[3]: 4 bytes, AppleHDA 19:933 0:000 KextPatch[4]: 6 bytes, AppleHDA 19:933 0:000 Loading boot.efi status=Success 20:141 0:207 GetOSVersion: : 10.11.1 20:141 0:000 insert table 9 for dev 0:0 20:141 0:000 insert table 9 for dev 0:1 20:141 0:000 insert table 9 for dev 19:0 20:141 0:000 Channels: 2 20:141 0:000 Interleave: 0 2 1 3 4 6 5 7 8 10 9 11 12 14 13 15 16 18 17 19 20 22 21 23 20:141 0:000 SMBIOS Type 17 Index = 0 => 0 0: 20:141 0:000 BANK0 DIMM0 1600MHz 8192MB 20:141 0:000 mTotalSystemMemory = 8192 20:141 0:000 SMBIOS Type 17 Index = 1 => 2 2: 20:141 0:000 BANK1 DIMM0 1600MHz 8192MB 20:141 0:000 mTotalSystemMemory = 16384 20:141 0:000 SMBIOS Type 17 Index = 2 => 1 1: 20:141 0:000 BANK0 DIMM1 1600MHz 8192MB 20:141 0:000 mTotalSystemMemory = 24576 20:141 0:000 SMBIOS Type 17 Index = 3 => 3 3: 20:141 0:000 BANK1 DIMM1 1600MHz 8192MB 20:141 0:000 mTotalSystemMemory = 32768 20:141 0:000 NumberOfMemoryDevices = 4 20:141 0:000 Type20[0]->End = 0x7FFFFF, Type17[0] = 0x2000 20:141 0:000 Type20[1]->End = 0x17FFFFF, Type17[2] = 0x8000 20:141 0:000 Type20[2]->End = 0xFFFFFF, Type17[1] = 0xC000 20:141 0:000 Type20[3]->End = 0x1FFFFFF, Type17[3] = 0x14000 20:141 0:000 Table 131 is present, CPUType=31 20:141 0:000 Change to: 605 20:141 0:000 RSDT 0x581B3028 20:141 0:000 FADT from RSDT: 0x581B3108 20:141 0:000 XSDT 0x581B3080 20:141 0:000 FADT from XSDT: 0x581C5540 20:141 0:000 Xsdt reallocation done 20:141 0:000 old FADT length=10C 20:141 0:000 Found OperationRegion(GNVS, SystemMemory, 581EEA98, ...) 20:141 0:000 Found OperationRegion(PNVA, SystemMemory, 581EFD98, ...) 20:141 0:000 Found OperationRegion(RCRB, SystemMemory, 0, ...) 20:141 0:000 Found OperationRegion(XHCP, SystemMemory, 0, ...) 20:142 0:000 Found OperationRegion(MCA1, SystemMemory, 0, ...) 20:142 0:000 Found OperationRegion(PSCA, SystemMemory, 0, ...) 20:142 0:000 Found OperationRegion(MCA1, SystemMemory, 0, ...) 20:142 0:000 Found OperationRegion(ICB1, SystemMemory, 0, ...) 20:142 0:000 Found OperationRegion(ICB1, SystemMemory, 0, ...) 20:142 0:000 Found OperationRegion(RPAC, SystemMemory, 0, ...) 20:142 0:000 Found OperationRegion(EPAC, SystemMemory, 0, ...) 20:142 0:000 Found OperationRegion(CPSB, SystemMemory, 58049E98, ...) 20:142 0:000 Found OperationRegion(MBAR, SystemMemory, 0, ...) 20:142 0:000 Found OperationRegion(PXVD, SystemMemory, 0, ...) 20:142 0:000 Found OperationRegion(MMMM, SystemMemory, 0, ...) 20:142 0:000 Found OperationRegion(RP_X, SystemMemory, 0, ...) 20:142 0:000 Found OperationRegion(RP_X, SystemMemory, 0, ...) 20:142 0:000 Found OperationRegion(RP_X, SystemMemory, 0, ...) 20:142 0:000 Found OperationRegion(PXVD, SystemMemory, 0, ...) 20:142 0:000 Found OperationRegion(RP_X, SystemMemory, 0, ...) 20:142 0:000 Found OperationRegion(RP_X, SystemMemory, 0, ...) 20:142 0:000 Found OperationRegion(TMMB, SystemMemory, FED40000, ...) 20:143 0:001 Apply DsdtFixMask=0x00000000 old way 20:143 0:000 drop _DSM mask=0x0000 20:143 0:000 ========= Auto patch DSDT Starting ======== 20:143 0:000 VideoCard devID=0xFC810DE 20:143 0:000 DisplayADR1[0] = 0x10000, DisplayADR2[0] = 0x0 20:143 0:000 USBADR[0] = 0x140000 and PCIe = 0xFFFE 20:143 0:000 USBADR[1] = 0x1A0000 and PCIe = 0xFFFE 20:249 0:105 Audio HDA (addr:0x1B0000) setting specified layout-id=1 (0x1) 20:249 0:000 USBADR[2] = 0x1D0000 and PCIe = 0xFFFE 20:249 0:000 first CPU found at C65E offset C661 20:249 0:000 score candidate at C65A 20:249 0:000 score inserted in acpi_cpu_score _PR 20:249 0:000 Found ACPI CPU: CPU0 And CPU1 And CPU2 And CPU3 And CPU4 And CPU5 And CPU6 And CPU7 within the score: PR 20:249 0:000 Found PCIROOTUID = 0 20:249 0:000 ========= Auto patch DSDT Finished ======== 20:249 0:000 Patch table: SSDT Ther_Rvp 20:249 0:000 SSDT len = 0xBEE 20:249 0:000 Patch table: SSDT Cpu0Ist 20:249 0:000 SSDT len = 0x539 20:249 0:000 Patch table: SSDT CpuSsdt 20:249 0:000 SSDT len = 0xB74 20:249 0:000 Patch table: SSDT SataTabl 20:249 0:000 SSDT len = 0x36D 20:249 0:000 Patch table: SSDT SaSsdt 20:249 0:000 SSDT len = 0x5B5E 20:249 0:000 Drop tables from Xsdt, SIGN=XXXX TableID= Length=0 20:249 0:000 Xsdt has tables count=11 20:249 0:000 corrected XSDT length=124 20:249 0:000 CPUBase=0 and ApicCPUBase=1 ApicCPUNum=4 20:250 0:000 EdidDiscovered size=128 20:250 0:000 00 | 00 FF FF FF FF FF FF 00 04 69 F2 23 65 01 00 00 20:250 0:000 16 | 09 14 01 03 80 34 1D 78 2A C7 20 A4 55 49 99 27 20:250 0:000 32 | 13 50 54 BF EF 00 71 4F 81 80 95 00 B3 00 D1 C0 20:250 0:000 48 | 01 01 01 01 01 01 02 3A 80 18 71 38 2D 40 58 2C 20:250 0:000 64 | 45 00 09 25 21 00 00 1E 00 00 00 FF 00 41 33 4C 20:250 0:000 80 | 4D 54 46 30 30 30 33 35 37 0A 00 00 00 FD 00 37 20:250 0:000 96 | 4B 1E 55 10 00 0A 20 20 20 20 20 20 00 00 00 FC 20:250 0:000 112 | 00 41 53 55 53 20 56 48 32 33 36 48 0A 20 00 CE 20:250 0:000 NVidia GFX injection not set 20:250 0:000 LAN Controller [8086:153B] :: PciRoot(0x0)\Pci(0x19,0x0) 20:250 0:000 HDA Controller [8086:8CA0] :: PciRoot(0x0)\Pci(0x1B,0x0) => setting specified layout-id=1 (0x1) 20:250 0:000 stringlength = 540 20:250 0:000 CurrentMode: Width=1920 Height=1080 20:250 0:000 Beginning FSInjection FSInjectionInstall ... - Our FSI_SIMPLE_FILE_SYSTEM_PROTOCOL installed on handle: 49DF2718 FSInjectionInstall ... - Our FSI_SIMPLE_FILE_SYSTEM_PROTOCOL installed on handle: 49DF2718 20:257 0:006 Preparing kexts injection for arch=x86_64 from EFI\CLOVER\kexts\Other 20:257 0:000 Preparing kexts injection for arch=x86_64 from EFI\CLOVER\kexts\10.11 20:259 0:001 Extra kext: EFI\CLOVER\kexts\10.11\FakePCIID_XHCIMux.kext 20:260 0:001 Extra kext: EFI\CLOVER\kexts\10.11\FakePCIID.kext 20:264 0:003 Extra kext: EFI\CLOVER\kexts\10.11\realtekALC.kext 20:269 0:005 Removed efi-boot-device-data variable: Not Found 20:269 0:000 Custom boot is disabled 20:269 0:000 Closing log
submitted by positiveR8 to hackintosh [link] [comments]

Using SRF sensors to return a float?

Hello, I've been experimenting with the SRF range finder library found here: SRF on Arduino.cc
Here's the SRF code given at that link:
// I2C SRF10 or SRF08 Devantech Ultrasonic Ranger Finder // by Nicholas Zambetti  // and James Tichenor  // Demonstrates use of the Wire library reading data from the // Devantech Utrasonic Rangers SFR08 and SFR10 // Created 29 April 2006 // This example code is in the public domain. #include  void setup() { Wire.begin(); // join i2c bus (address optional for master) Serial.begin(9600); // start serial communication at 9600bps } int reading = 0; void loop() { // step 1: instruct sensor to read echoes Wire.beginTransmission(112); // transmit to device #112 (0x70) // the address specified in the datasheet is 224 (0xE0) // but i2c adressing uses the high 7 bits so it's 112 Wire.write(byte(0x00)); // sets register pointer to the command register (0x00) Wire.write(byte(0x50)); // command sensor to measure in "inches" (0x50) // use 0x51 for centimeters // use 0x52 for ping microseconds Wire.endTransmission(); // stop transmitting // step 2: wait for readings to happen delay(70); // datasheet suggests at least 65 milliseconds // step 3: instruct sensor to return a particular echo reading Wire.beginTransmission(112); // transmit to device #112 Wire.write(byte(0x02)); // sets register pointer to echo #1 register (0x02) Wire.endTransmission(); // stop transmitting // step 4: request reading from sensor Wire.requestFrom(112, 2); // request 2 bytes from slave device #112 // step 5: receive reading from sensor if(2 <= Wire.available()) // if two bytes were received { reading = Wire.read(); // receive high byte (overwrites previous reading) reading = reading << 8; // shift high byte to be high 8 bits reading |= Wire.read(); // receive low byte as lower 8 bits Serial.println(reading); // print the reading } delay(250); // wait a bit since people have to read the output :) } /* // The following code changes the address of a Devantech Ultrasonic Range Finder (SRF10 or SRF08) // usage: changeAddress(0x70, 0xE6); void changeAddress(byte oldAddress, byte newAddress) { Wire.beginTransmission(oldAddress); Wire.write(byte(0x00)); Wire.write(byte(0xA0)); Wire.endTransmission(); Wire.beginTransmission(oldAddress); Wire.write(byte(0x00)); Wire.write(byte(0xAA)); Wire.endTransmission(); Wire.beginTransmission(oldAddress); Wire.write(byte(0x00)); Wire.write(byte(0xA5)); Wire.endTransmission(); Wire.beginTransmission(oldAddress); Wire.write(byte(0x00)); Wire.write(newAddress); Wire.endTransmission(); } */ 
The code is designed to return an integer value, which it does perfectly fine. However I need a more accurate reading than an integer value- at least two decimal places. How can I change the code to return a float value?
I try changing the declaration for "reading" from
int reading = 0; 
to
float reading = 0.00; 
but I get the following error:
SRF08.ino: In function 'void loop()': SRF08:50: error: invalid operands of types 'float' and 'int' to binary 'operator<<' SRF08:51: error: invalid operands of types 'float' and 'int' to binary 'operator|' SRF08:51: error: in evaluation of 'operator|=(float, int)' 
in step 5 of the code. How can I fix this so I can get a more accurate reading using floats?
Thanks for any help!
submitted by hineybush to arduino [link] [comments]

Chart pattern strategy is 99% strong in binary option ... Binary option strategy with more than 90% accuracy - YouTube Deep explanation of multi trading strategy in binary option How to read Pressure of a candle in binary option - YouTube Most powerful breakout strategy in binary option 2020 ... Binary Options Strategy - YouTube 5 second confirmation is just money making sureshot ...

*Mar 4 23:02:52.512: DHCP_SNOOPING: binary dump of relay info option, length: 22 data: 0x52 0x14 0x1 0x8 0x1 0x6 0x67 0x72 0x6F 0x75 0x70 0x31 0x2 0x8 0x0 0x6 0x0 0x14 0x69 0xC3 0xCC 0x0 … *Mar 4 23:02:54.776: DHCP_SNOOPING: binary dump of extracted circuit id, length: 10 data: 0x1 0x8 0x1 0x6 0x67 0x72 0x6F 0x75 0x70 0x31 // theo bảng mã ASCII, “group1”= 0x67 0x72 0x6F 0x75 0x70 0x31 ... 0x52 In Biner Pilihan Get link; Facebook; Twitter; Pinterest; Email; Other Apps; July 03, 2017 Jan 10 07:51:56.707: DHCP_SNOOPING: binary dump of relay info option, length: 20 data: 0x52 0x12 0x1 0x6 0x0 0x4 0x0 0x1 0x1 0x3 0x2 0x8 0x0 0x6 0x2C 0x36 0xF8 0x56 0x1D 0x80. Jan 10 07:51:56.707: DHCP_SNOOPING_SW: bridge packet get invalid mat entry: FFFF.FFFF.FFFF, packet is flooded to ingress VLAN: (1) Sep. 8. 0x52 In Binary Vaihtoehto [mkgmap-dev] question for tdb-file record 0x52; option in mkgmap ? From Gerd Petermann GPetermann_muenchen at hotmail.com on Sat Nov 28 16:11:41 GMT 2015. Hallo Thomas, please try --family-name=xyz. Where did you get the binary that reports mkgmap-r3336 ? I assume that you build your own binary, in that case please use these two commands: svn update ant clean dist Gerd _____ Von: mkgmap-dev ... The value used in the class is everything that follows the initial "0x52 " tuple in Option 82 - that is, the list of all sub-options, including their initial ID/Length tuples. The terminating option 0xFF is not included in the relay-information field. Due to the flexibility of Option 82 formats, Cisco IOS only allows you using the “raw” formatting, without any referencing to the sub ... Nov 23 17:26:35.557 ACDT: DHCP_SNOOPING: binary dump of relay info option, length: 20 data: 0x52 0x12 0x1 0x6 0x0 0x4 0x0 0x8D 0x0 0x9 0x2 0x8 0x0 0x6 0x0 0x16 0x9D 0x5 0xB9 0x80 Nov 23 17:26:35.557 ACDT: DHCP_SNOOPING_SW: bridge packet get invalid mat entry: FFFF.FFFF.FFFF, packet is flooded to ingress VLAN: (141) Nov 23 17:26:35.561 ACDT: DHCP_SNOOPING_SW: bridge packet send packet to port ... [mkgmap-dev] question for tdb-file record 0x52; option in mkgmap ? From Thomas Morgenstern webmaster at img2ms.de on Sun Nov 29 07:17:10 GMT 2015. Hi Steve, the problem is solved . With option -arae-name= Kanaren works all perfekt. Thank's at all Am 28.11.2015 um 22:40 schrieb Steve Ratcliffe: > Hi Thomas > > The tdb-file contains the copyright messages from each of the the map > tiles ... Nov. 23. 0x52 In Binary Option Monday, 16 January 2017. 0x52 In Binary Option

[index] [16937] [7472] [16981] [9423] [29477] [3370] [26204] [18793] [4555] [8857]

Chart pattern strategy is 99% strong in binary option ...

#trusted_binary; #binary_option; #binary_trade; #iq_option; #trade; Binary Option trading all sure shoot technique and strategy by TRUSTED BINARY . Making mo... #trusted_binary; #binary_option; #binary_trade; #iq_option; #trade; Binary Option trading all sure shoot technique and strategy by TRUSTED BINARY . Making mo... I Do Not Own Copyrights To Music! In today’s video I will be showing you guys A super easy 4 step profitable binary options strategy. It works for Forex Trad... IQ Options - https://affiliate.iqbroker.com/redir/?aff=51392 FXTM - https://www.forextime.com/?partner_id=4810737 In this Channel you will get trading strate... #trusted_binary; #binary_option; #binary_trade; #iq_option; #trade; Binary Option trading all sure shoot technique and strategy by TRUSTED BINARY . Making mo... # Open IQ Option Demo Account https://urlzs.com/q6kvy! Totally Free 10000$ Demo account!Join Facebook Group: https://www.facebook.com/groups/21656...Telegra... #trusted_binary;#binary_option;#binary_trade;#iq_option;#trade;Binary Option trading all sure shoot technique and strategy by TRUSTED BINARY .Making money with ...

https://binaryoptiontrade.rupmiaho.gq